+ All Categories
Home > Documents > PIC16F18446 Curiosity Nano Hardware User...

PIC16F18446 Curiosity Nano Hardware User...

Date post: 20-Sep-2020
Category:
Upload: others
View: 0 times
Download: 0 times
Share this document with a friend
37
PIC16F18446 Curiosity Nano PIC16F18446 Curiosity Nano Hardware User Guide Preface The PIC16F18446 Curiosity Nano Evaluation Kit is a hardware platform to evaluate microcontrollers in the PIC16(L)F184xx family. This board has the PIC16F18446 microcontroller (MCU) mounted. Supported by Microchip MPLAB ® X Integrated Development Environment (IDE), the board provides easy access to the features of the PIC16F18446 to explore how to integrate the device into a custom design. The Curiosity Nano series of evaluation boards include an on-board debugger. No external tools are necessary to program and debug the PIC16F18446. MPLAB ® X IDE - Software to discover, configure, develop, program, and debug Microchip microcontrollers. PIC16F18446 website - Find documentation, datasheets, sample, and purchase microcontrollers. PIC16F18446 Curiosity Nano website - Kit information, latest user guide, and design documentation. © 2020 Microchip Technology Inc. User Guide DS50002808C-page 1
Transcript
Page 1: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

PIC16F18446 Curiosity Nano PIC16F18446 Curiosity Nano Hardware User Guide

PrefaceThe PIC16F18446 Curiosity Nano Evaluation Kit is a hardware platform to evaluate microcontrollers in thePIC16(L)F184xx family This board has the PIC16F18446 microcontroller (MCU) mounted

Supported by Microchip MPLABreg X Integrated Development Environment (IDE) the board provides easy access tothe features of the PIC16F18446 to explore how to integrate the device into a custom design

The Curiosity Nano series of evaluation boards include an on-board debugger No external tools are necessary toprogram and debug the PIC16F18446

bull MPLABreg X IDE - Software to discover configure develop program and debug Microchip microcontrollersbull PIC16F18446 website - Find documentation datasheets sample and purchase microcontrollersbull PIC16F18446 Curiosity Nano website - Kit information latest user guide and design documentation

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 1

Table of Contents

Preface1

1 Introduction 4

11 Features 412 Kit Overview 4

2 Getting Started 5

21 Quick Start522 Design Documentation and Relevant Links 5

3 Curiosity Nano6

31 On-Board Debugger Overview632 Curiosity Nano Standard Pinout 1133 Power Supply 1234 Low Power Measurement1635 Programming External Microcontrollers 1736 Connecting External Debuggers 20

4 Hardware User Guide 22

41 Connectors2242 Peripherals 23

5 Hardware Revision History and Known Issues 25

51 Identifying Product ID and Revision 2552 DAC pin limitations2553 Revision 82554 Revision 72555 Revision 526

6 Document Revision History28

7 Appendix 29

71 Schematic2972 Assembly Drawing3173 Curiosity Nano Base for Click boardstrade 3274 Disconnecting the On-board Debugger33

The Microchip Website35

Product Change Notification Service35

Customer Support 35

Microchip Devices Code Protection Feature 35

Legal Notice 35

Trademarks 36

Quality Management System 36

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 2

Worldwide Sales and Service37

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 3

1 Introduction

11 Featuresbull PIC16F18446 Microcontrollerbull One Yellow User LEDbull One Mechanical User Switchbull Footprint for 32768 kHz Crystalbull On-Board Debugger

ndash Board identification in MPLABreg X IDEndash One green power and status LEDndash Programming and debuggingndash Virtual serial port (CDC)ndash One debug GPIO channel (DGI GPIO)

bull USB Poweredbull Adjustable Target Voltage

ndash MIC5353 LDO regulator controlled by the on-board debuggerndash 23-51V output voltage (limited by USB input voltage)ndash 500 mA maximum output current (limited by ambient temperature and output voltage)

12 Kit OverviewThe Microchip PIC16F18446 Curiosity Nano Evaluation Kit is a hardware platform to evaluate the PIC16F18446microcontroller

Figure 1-1 PIC16F18446 Curiosity Nano Evaluation Kit Overview

Micro-USB Connector

DebuggerPowerStatus

LED32768 kHz Crystal

FootprintUser LED

(LED0)User Switch

(SW0)PIC16F18446

MCU

PIC16F18446 Curiosity NanoIntroduction

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 4

2 Getting Started

21 Quick StartSteps to start exploring the PIC16F18446 Curiosity Nano Board

1 Download MPLABreg X IDE2 Launch MPLABreg X IDE3 Optional Use MPLABreg Code Configurator to generate drivers and examples4 Write your application code5 Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the debug USB port on the

board

Driver InstallationWhen the board is connected to your computer for the first time the operating system will perform a driver softwareinstallation The driver file supports both 32- and 64-bit versions of Microsoftreg Windowsreg XP Windows VistaregWindows 7 Windows 8 and Windows 10 The drivers for the board are included with MPLABreg X IDE

Kit WindowOnce the board is powered the green status LED will be lit and MPLABreg X IDE will auto-detect which boards areconnected MPLABreg X IDE will present relevant information like data sheets and board documentation ThePIC16F18446 device on the PIC16F18446 Curiosity Nano Board is programmed and debugged by the on-boarddebugger and therefore no external programmer or debugger tool is required

Tip  The Kit Window can be opened in MPLAB X IDE through the menu bar Window gt Kit Window

22 Design Documentation and Relevant LinksThe following list contains links to the most relevant documents and software for the PIC16F18446 Curiosity NanoBoard

bull MPLABreg X IDE - MPLAB X IDE is a software program that runs on a PC (Windowsreg Mac OSreg Linuxreg) todevelop applications for Microchip microcontrollers and digital signal controllers It is called an IntegratedDevelopment Environment (IDE) because it provides a single integrated ldquoenvironmentrdquo to develop code forembedded microcontrollers

bull MPLABreg Code Configurator - MPLAB Code Configurator (MCC) is a free software plug-in that provides agraphical interface to configure peripherals and functions specific to your application

bull Microchip Sample Store - Microchip sample store where you can order samples of devicesbull MPLAB Data Visualizer - MPLAB Data Visualizer is a program used for processing and visualizing data The

Data Visualizer can receive data from various sources such as serial ports and on-board debuggerrsquos DataGateway Interface as found on Curiosity Nano and Xplained Pro boards

bull Microchip PICreg and AVRreg Examples - Microchip PIC and AVR Device Examples is a collection of examplesand labs that use Microchip development boards to showcase the use of PIC and AVR device peripherals

bull Microchip PICreg and AVRreg Solutions - Microchip PIC and AVR Device Solutions contains completeapplications for use with Microchip development boards ready to be adapted and extended

bull PIC16F18446 Curiosity Nano website - Kit information latest user guide and design documentationbull PIC16F18446 Curiosity Nano on microchipDIRECT - Purchase this kit on microchipDIRECT

PIC16F18446 Curiosity NanoGetting Started

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 5

3 Curiosity NanoCuriosity Nano is an evaluation platform of small boards with access to most of the microcontrollers IOs Theplatform consists of a series of low pin count microcontroller (MCU) boards with on-board debuggers which areintegrated with MPLABreg X IDE Each board is identified in the IDE When plugged in a Kit Window is displayed withlinks to key documentation including relevant user guides application notes data sheets and example codeEverything is easy to find The on-board debugger features a virtual serial port (CDC) for serial communication to ahost PC and a Data Gateway Interface (DGI) with debug GPIO pin(s)

31 On-Board Debugger OverviewPIC16F18446 Curiosity Nano contains an on-board debugger for programming and debugging The on-boarddebugger is a composite USB device consisting of several interfaces

bull A debugger that can program and debug the PIC16F18446 in MPLABreg X IDEbull A mass storage device that allows drag-and-drop programming of the PIC16F18446bull A virtual serial port (CDC) that is connected to a Universal Asynchronous ReceiverTransmitter (UART) on the

PIC16F18446 and provides an easy way to communicate with the target application through terminal softwarebull A Data Gateway Interface (DGI) for code instrumentation with logic analyzer channels (debug GPIO) to visualize

program flow

The on-board debugger controls a Power and Status LED (marked PS) on the PIC16F18446 Curiosity Nano BoardThe table below shows how the LED is controlled in different operation modes

Table 3-1 On-Board Debugger LED Control

Operation Mode Power and Status LED

Boot Loader mode The LED blinks slowly during power-up

Power-up The LED is ON

Normal operation The LED is ON

Programming Activity indicator The LED blinks slowly during programmingdebugging

Drag-and-dropprogramming Success The LED blinks slowly for 2 sec

Failure The LED blinks rapidly for 2 sec

Fault The LED blinks rapidly if a power fault is detected

SleepOff The LED is OFF The on-board debugger is either in a sleep mode or powered downThis can occur if the board is externally powered

Info  Slow blinking is approximately 1 Hz and rapid blinking is approximately 5 Hz

311 DebuggerThe on-board debugger on the PIC16F18446 Curiosity Nano Board appears as a Human Interface Device (HID) onthe host computerrsquos USB subsystem The debugger supports full-featured programming and debugging of thePIC16F18446 using MPLABreg X IDE

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 6

Remember  Keep the debuggerrsquos firmware up-to-date Firmware upgrades are done automatically whenusing MPLABreg X IDE

312 Virtual Serial Port (CDC)The virtual serial port (CDC) is a general purpose serial bridge between a host PC and a target device

3121 OverviewThe on-board debugger implements a composite USB device that includes a standard Communications Device Class(CDC) interface which appears on the host as a virtual serial port The CDC can be used to stream arbitrary data inboth directions between the host computer and the target All characters sent through the virtual serial port on thehost computer will be transmitted as UART on the debuggerrsquos CDC TX pin and UART characters captured on thedebuggerrsquos CDC RX pin will be returned to the host computer through the virtual serial port

Figure 3-1 CDC Connection

Target MCU

UART TX

UART RX

Debugger

USBCDC RX

CDC TX

PCTerminalSoftware

TargetReceive

TargetSend

TerminalReceive

TerminalSend

Info  As shown in Figure 3-1 the debuggerrsquos CDC TX pin is connected to a UART RX pin on the targetfor receiving characters from the host computer Similarly the debuggerrsquos CDC RX pin is connected to aUART TX pin on the target for transmitting characters to the host computer

3122 Operating System SupportOn Windows machines the CDC will enumerate as Curiosity Virtual COM Port and appear in the Ports section of theWindows Device Manager The COM port number can also be found there

Info  On older Windows systems a USB driver is required for CDC This driver is included in installationsof MPLABreg X IDE

On Linux machines the CDC will enumerate and appear as devttyACM

Info  tty devices belong to the ldquodialoutrdquo group in Linux so it may be necessary to become a member ofthat group to have permissions to access the CDC

On MAC machines the CDC will enumerate and appear as devttyusbmodem Depending on which terminalprogram is used it will appear in the available list of modems as usbmodem

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 7

Info  For all operating systems Be sure to use a terminal emulator that supports DTR signaling See 3124 Signaling

3123 LimitationsNot all UART features are implemented in the on-board debugger CDC The constraints are outlined here

bull Baud rate Must be in the range of 1200 bps to 500 kbps Any baud rate outside this range will be set to theclosest limit without warning Baud rate can be changed on-the-fly

bull Character format Only 8-bit characters are supportedbull Parity Can be odd even or nonebull Hardware flow control Not supportedbull Stop bits One or two bits are supported

3124 SignalingDuring USB enumeration the host OS will start both communication and data pipes of the CDC interface At thispoint it is possible to set and read back the baud rate and other UART parameters of the CDC but data sending andreceiving will not be enabled

When a terminal connects on the host it must assert the DTR signal As this is a virtual control signal implementedon the USB interface it is not physically present on the board Asserting the DTR signal from the host will indicate tothe on-board debugger that a CDC session is active The debugger will then enable its level shifters (if available) andstart the CDC data send and receive mechanisms

Deasserting the DTR signal will not disable the level shifters but disable the receiver so no further data will bestreamed to the host Data packets that are already queued up for sending to the target will continue to be sent outbut no further data will be accepted

Remember  Set up the terminal emulator to assert the DTR signal Without the signal the on-boarddebugger will not send or receive any data through its UART

Tip  The on-board debuggerrsquos CDC TX pin will not be driven until the CDC interface is enabled by thehost computer Also there are no external pull-up resistors on the CDC lines connecting the debugger andthe target which means that during power-up these lines are floating To avoid any glitches resulting inunpredictable behavior like framing errors the target device should enable the internal pull-up resistor onthe pin connected to the debuggerrsquos CDC TX pin

3125 Advanced Use

CDC Override ModeIn normal operation the on-board debugger is a true UART bridge between the host and the device However incertain use cases the on-board debugger can override the basic operating mode and use the CDC TX and RX pinsfor other purposes

Dropping a text file into the on-board debuggerrsquos mass storage drive can be used to send characters out of thedebuggerrsquos CDC TX pin The filename and extension are trivial but the text file must start with the charactersCMDSEND_UART=

The maximum message length is 50 characters ndash all remaining data in the frame are ignored

The default baud rate used in this mode is 9600 bps but if the CDC is already active or has been configured thepreviously used baud rate still applies

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 8

USB-Level Framing ConsiderationsSending data from the host to the CDC can be done byte-wise or in blocks which will be chunked into 64-byte USBframes Each such frame will be queued up for sending to the debuggerrsquos CDC TX pin Transferring a small amountof data per frame can be inefficient particularly at low baud rates because the on-board debugger buffers framesand not bytes A maximum of four 64-byte frames can be active at any time The on-board debugger will throttle theincoming frames accordingly Sending full 64-byte frames containing data is the most efficient method

When receiving data on the debuggerrsquos CDC RX pin the on-board debugger will queue up the incoming bytes into64-byte frames which are sent to the USB queue for transmission to the host when they are full Incomplete framesare also pushed to the USB queue at approximately 100 ms intervals triggered by USB start-of-frame tokens Up toeight 64-byte frames can be active at any time

If the host (or the software running on it) fails to receive data fast enough an overrun will occur When this happensthe last-filled buffer frame will be recycled instead of being sent to the USB queue and a full frame of data will belost To prevent this occurrence the user must ensure that the CDC data pipe is being read continuously or theincoming data rate must be reduced

313 Mass Storage DeviceThe on-board debugger includes a simple Mass Storage Device implementation which is accessible for readwriteoperations via the host operating system to which it is connected

It providesbull Read access to basic text and HTML files for detailed kit information and supportbull Write access for programming Intelreg HEX formatted files into the target devicersquos memorybull Write access for simple text files for utility purposes

3131 Mass Storage Device ImplementationThe on-board debugger implements a highly optimized variant of the FAT12 file system that has several limitationspartly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded application

The Curiosity Nano USB Device is USB Chapter 9-compliant as a mass storage device but does not in any wayfulfill the expectations of a general purpose mass storage device This behavior is intentional

When using the Windows operating system the on-board debugger enumerates as a Curiosity Nano USB Devicethat can be found in the disk drives section of the device manager The CURIOSITY drive appears in the file managerand claims the next available drive letter in the system

The CURIOSITY drive contains approximately one MB of free space This does not reflect the size of the targetdevicersquos Flash in any way When programming an Intelreg HEX file the binary data are encoded in ASCII withmetadata 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 filename may appear inthe disk directory listing This is merely the operating systemrsquos view of the directory which in reality has not beenupdated It is not possible to read out the file contents Removing and replugging the board will return the file systemto its original state but the target will still contain the application that has been previously programmed

To erase the target device copy a text file starting with ldquoCMDERASErdquo onto the disk

By default the CURIOSITY drive contains several read-only files for generating icons as well as reporting status andlinking to further information

bull AUTORUNICO ndash icon file for the Microchip logobull AUTORUNINF ndash system file required for Windows Explorer to show the icon filebull KIT-INFOHTM ndash redirect to the development board websitebull KIT-INFOTXT ndash a text file containing details about the boardrsquos debugger firmware version board name USB

serial number device and drag-and-drop supportbull STATUSTXT ndash a text file containing the programming status of the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 9

Info  STATUSTXT is dynamically updated by the on-board debugger The contents may be cached bythe OS and therefore do not reflect the correct status

3132 Configuration Words

Configuration Words (PICreg MCU Targets)Configuration Word settings included in the project being programmed after program Flash is programmed Thedebugger will not mask out any bits in the Configuration Words when writing them but since it uses Low-VoltageProgramming mode it is unable to clear the LVP Configuration bit If the incorrect clock source is selected forexample and the board does not boot it is always possible to perform a bulk erase (always done beforeprogramming) and restore the device to its default settings

3133 Special CommandsSeveral utility commands are supported by copying text files to the mass storage disk The filename or extension isirrelevant ndash the command handler reacts to content only

Table 3-2 Special File Commands

Command Content Description

CMDERASE Executes a chip erase of the target

CMDSEND_UART= Sends a string of characters to the CDC UART See ldquoCDC Override Moderdquo

CMDRESET Resets the target device by entering Programming mode and then exitingProgramming mode immediately thereafter Exact timing can vary according tothe programming interface of the target device (Debugger firmware v116 ornewer)

CMDPOWERTOGGLE Powers down the target and restores power after a 100 ms delay If externalpower is provided this has no effect (Debugger firmware v116 or newer)

CMD0V Powers down the target device by disabling the target supply regulator Ifexternal power is provided this has no effect (Debugger firmware v116 ornewer)

CMD3V3 Sets the target voltage to 33V If external power is provided this has no effect(Debugger firmware v116 or newer)

CMD5V0 Sets the target voltage to 50V If external power is provided this has no effect(Debugger firmware v116 or newer)

Info  The commands listed here are triggered by the content being sent to the mass storage emulateddisk and no feedback is provided in the case of either success or failure

314 Data Gateway Interface (DGI)Data Gateway Interface (DGI) is a USB interface for transporting raw and timestamped data between on-boarddebuggers and host computer-based visualization tools MPLAB Data Visualizer is used on the host computer todisplay debug GPIO data It is available as a plug-in for MPLABreg X IDE or a stand-alone application that can be usedin parallel with MPLABreg X IDE

Although DGI encompasses several physical data interfaces the PIC16F18446 Curiosity Nano implementationincludes logic analyzer channels

bull One debug GPIO channel (also known as DGI GPIO)

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 10

3141 Debug GPIODebug GPIO channels are timestamped digital signal lines connecting the target application to a host computervisualization application They are typically used to plot the occurrence of low-frequency events on a time-axis ndash forexample when certain application state transitions occur

The figure below shows the monitoring of the digital state of a mechanical switch connected to a debug GPIO inMPLAB Data VisualizerFigure 3-2 Monitoring Debug GPIO with MPLABreg Data Visualizer

Debug GPIO channels are timestamped so the resolution of DGI GPIO events is determined by the resolution of theDGI timestamp module

Important  Although bursts of higher-frequency signals can be captured the useful frequency range ofsignals for which debug GPIO can be used is up to about 2 kHz Attempting to capture signals above thisfrequency will result in data saturation and overflow which may cause the DGI session to be aborted

3142 TimestampingDGI sources are timestamped as they are captured by the debugger The timestamp counter implemented in theCuriosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond

32 Curiosity Nano Standard PinoutThe 12 edge connections closest to the USB connector on Curiosity Nano boards have a standardized pinout Theprogramdebug pins have different functions depending on the target programming interface as shown in the tableand figure below

Table 3-3 Curiosity Nano Standard Pinout

Debugger Signal Target MCU Description

ID mdash ID line for extensions

CDC TX UART RX USB CDC TX line

CDC RX UART TX USB CDC RX line

DBG0 ICSPDAT Debug data line

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 11

continuedDebugger Signal Target MCU Description

DBG1 ICSPCLK Debug clock line

DBG2 GPIO0 debug GPIO0

DBG3 MCLR Reset line

NC mdash No connect

VBUS mdash VBUS voltage for external use

VOFF mdash Voltage Off input Disables the target regulator andtarget voltage when pulled low

VTG mdash Target voltage

GND mdash Common ground

Figure 3-3 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

33 Power SupplyThe board is powered through the USB port and contains two LDO regulators one to generate 33V for the on-boarddebugger and an adjustable LDO regulator for the target microcontroller PIC16F18446 and its peripherals Thevoltage from the USB connector can vary between 44V to 525V (according to the USB specification) and will limitthe maximum voltage to the target The figure below shows the entire power supply system on PIC16F18446Curiosity Nano

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 12

Figure 3-4 Power Supply Block Diagram

USBTarget MCU

Power source

Cut strap

Power consumer P3V3DEBUGGER

Power converter

DEBUGGERRegulator

VUSB

TargetRegulator

Power Supply strap

Adjust

Level shifter

VLVLVREG

IO IO GPIOstraps

IO

OnOffMeasure OnOff

ID systemVOFF

PTC Fuse

Power protection

VBUS

Target Power strap

VTG

331 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO The on-board debugger can adjust the voltage outputsupplied to the board target section by manipulating the MIC5353rsquos feedback voltage The hardware implementationis limited to an approximate voltage range from 17V to 51V Additional output voltage limits are configured in thedebugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F18446microcontroller The voltage limits configured in the on-board debugger on PIC16F18446 Curiosity Nano are23-51V

Info  The target voltage is set to 33V when the board is manufactured It can be changed throughMPLAB X IDE project properties Any change to the target voltage is persistent even through a powertoggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program

Info  Voltage settings that are set up in MPLABreg X IDE are not immediately applied to the board Thenew voltage setting is applied to the board when the debugger is accessed in any way like pushing theRefresh Debug Tool Status button in the project dashboard tab or programmingreading program memory

Info  There is a simple option to adjust the target voltage with a drag and drop command text file to theboard This only supports settings of 00V 33V and 50V See section 3133 Special Commands forfurther details

The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small package placed on asmall printed circuit board (PCB) and the thermal shutdown condition can be reached at lower loads than 500 mAThe maximum current load depends on the input voltage the selected output voltage and the ambient temperatureThe figure below shows the safe operating area for the regulator with an input voltage of 51V and an ambienttemperature of 23degC

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 13

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 2: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Table of Contents

Preface1

1 Introduction 4

11 Features 412 Kit Overview 4

2 Getting Started 5

21 Quick Start522 Design Documentation and Relevant Links 5

3 Curiosity Nano6

31 On-Board Debugger Overview632 Curiosity Nano Standard Pinout 1133 Power Supply 1234 Low Power Measurement1635 Programming External Microcontrollers 1736 Connecting External Debuggers 20

4 Hardware User Guide 22

41 Connectors2242 Peripherals 23

5 Hardware Revision History and Known Issues 25

51 Identifying Product ID and Revision 2552 DAC pin limitations2553 Revision 82554 Revision 72555 Revision 526

6 Document Revision History28

7 Appendix 29

71 Schematic2972 Assembly Drawing3173 Curiosity Nano Base for Click boardstrade 3274 Disconnecting the On-board Debugger33

The Microchip Website35

Product Change Notification Service35

Customer Support 35

Microchip Devices Code Protection Feature 35

Legal Notice 35

Trademarks 36

Quality Management System 36

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 2

Worldwide Sales and Service37

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 3

1 Introduction

11 Featuresbull PIC16F18446 Microcontrollerbull One Yellow User LEDbull One Mechanical User Switchbull Footprint for 32768 kHz Crystalbull On-Board Debugger

ndash Board identification in MPLABreg X IDEndash One green power and status LEDndash Programming and debuggingndash Virtual serial port (CDC)ndash One debug GPIO channel (DGI GPIO)

bull USB Poweredbull Adjustable Target Voltage

ndash MIC5353 LDO regulator controlled by the on-board debuggerndash 23-51V output voltage (limited by USB input voltage)ndash 500 mA maximum output current (limited by ambient temperature and output voltage)

12 Kit OverviewThe Microchip PIC16F18446 Curiosity Nano Evaluation Kit is a hardware platform to evaluate the PIC16F18446microcontroller

Figure 1-1 PIC16F18446 Curiosity Nano Evaluation Kit Overview

Micro-USB Connector

DebuggerPowerStatus

LED32768 kHz Crystal

FootprintUser LED

(LED0)User Switch

(SW0)PIC16F18446

MCU

PIC16F18446 Curiosity NanoIntroduction

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 4

2 Getting Started

21 Quick StartSteps to start exploring the PIC16F18446 Curiosity Nano Board

1 Download MPLABreg X IDE2 Launch MPLABreg X IDE3 Optional Use MPLABreg Code Configurator to generate drivers and examples4 Write your application code5 Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the debug USB port on the

board

Driver InstallationWhen the board is connected to your computer for the first time the operating system will perform a driver softwareinstallation The driver file supports both 32- and 64-bit versions of Microsoftreg Windowsreg XP Windows VistaregWindows 7 Windows 8 and Windows 10 The drivers for the board are included with MPLABreg X IDE

Kit WindowOnce the board is powered the green status LED will be lit and MPLABreg X IDE will auto-detect which boards areconnected MPLABreg X IDE will present relevant information like data sheets and board documentation ThePIC16F18446 device on the PIC16F18446 Curiosity Nano Board is programmed and debugged by the on-boarddebugger and therefore no external programmer or debugger tool is required

Tip  The Kit Window can be opened in MPLAB X IDE through the menu bar Window gt Kit Window

22 Design Documentation and Relevant LinksThe following list contains links to the most relevant documents and software for the PIC16F18446 Curiosity NanoBoard

bull MPLABreg X IDE - MPLAB X IDE is a software program that runs on a PC (Windowsreg Mac OSreg Linuxreg) todevelop applications for Microchip microcontrollers and digital signal controllers It is called an IntegratedDevelopment Environment (IDE) because it provides a single integrated ldquoenvironmentrdquo to develop code forembedded microcontrollers

bull MPLABreg Code Configurator - MPLAB Code Configurator (MCC) is a free software plug-in that provides agraphical interface to configure peripherals and functions specific to your application

bull Microchip Sample Store - Microchip sample store where you can order samples of devicesbull MPLAB Data Visualizer - MPLAB Data Visualizer is a program used for processing and visualizing data The

Data Visualizer can receive data from various sources such as serial ports and on-board debuggerrsquos DataGateway Interface as found on Curiosity Nano and Xplained Pro boards

bull Microchip PICreg and AVRreg Examples - Microchip PIC and AVR Device Examples is a collection of examplesand labs that use Microchip development boards to showcase the use of PIC and AVR device peripherals

bull Microchip PICreg and AVRreg Solutions - Microchip PIC and AVR Device Solutions contains completeapplications for use with Microchip development boards ready to be adapted and extended

bull PIC16F18446 Curiosity Nano website - Kit information latest user guide and design documentationbull PIC16F18446 Curiosity Nano on microchipDIRECT - Purchase this kit on microchipDIRECT

PIC16F18446 Curiosity NanoGetting Started

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 5

3 Curiosity NanoCuriosity Nano is an evaluation platform of small boards with access to most of the microcontrollers IOs Theplatform consists of a series of low pin count microcontroller (MCU) boards with on-board debuggers which areintegrated with MPLABreg X IDE Each board is identified in the IDE When plugged in a Kit Window is displayed withlinks to key documentation including relevant user guides application notes data sheets and example codeEverything is easy to find The on-board debugger features a virtual serial port (CDC) for serial communication to ahost PC and a Data Gateway Interface (DGI) with debug GPIO pin(s)

31 On-Board Debugger OverviewPIC16F18446 Curiosity Nano contains an on-board debugger for programming and debugging The on-boarddebugger is a composite USB device consisting of several interfaces

bull A debugger that can program and debug the PIC16F18446 in MPLABreg X IDEbull A mass storage device that allows drag-and-drop programming of the PIC16F18446bull A virtual serial port (CDC) that is connected to a Universal Asynchronous ReceiverTransmitter (UART) on the

PIC16F18446 and provides an easy way to communicate with the target application through terminal softwarebull A Data Gateway Interface (DGI) for code instrumentation with logic analyzer channels (debug GPIO) to visualize

program flow

The on-board debugger controls a Power and Status LED (marked PS) on the PIC16F18446 Curiosity Nano BoardThe table below shows how the LED is controlled in different operation modes

Table 3-1 On-Board Debugger LED Control

Operation Mode Power and Status LED

Boot Loader mode The LED blinks slowly during power-up

Power-up The LED is ON

Normal operation The LED is ON

Programming Activity indicator The LED blinks slowly during programmingdebugging

Drag-and-dropprogramming Success The LED blinks slowly for 2 sec

Failure The LED blinks rapidly for 2 sec

Fault The LED blinks rapidly if a power fault is detected

SleepOff The LED is OFF The on-board debugger is either in a sleep mode or powered downThis can occur if the board is externally powered

Info  Slow blinking is approximately 1 Hz and rapid blinking is approximately 5 Hz

311 DebuggerThe on-board debugger on the PIC16F18446 Curiosity Nano Board appears as a Human Interface Device (HID) onthe host computerrsquos USB subsystem The debugger supports full-featured programming and debugging of thePIC16F18446 using MPLABreg X IDE

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 6

Remember  Keep the debuggerrsquos firmware up-to-date Firmware upgrades are done automatically whenusing MPLABreg X IDE

312 Virtual Serial Port (CDC)The virtual serial port (CDC) is a general purpose serial bridge between a host PC and a target device

3121 OverviewThe on-board debugger implements a composite USB device that includes a standard Communications Device Class(CDC) interface which appears on the host as a virtual serial port The CDC can be used to stream arbitrary data inboth directions between the host computer and the target All characters sent through the virtual serial port on thehost computer will be transmitted as UART on the debuggerrsquos CDC TX pin and UART characters captured on thedebuggerrsquos CDC RX pin will be returned to the host computer through the virtual serial port

Figure 3-1 CDC Connection

Target MCU

UART TX

UART RX

Debugger

USBCDC RX

CDC TX

PCTerminalSoftware

TargetReceive

TargetSend

TerminalReceive

TerminalSend

Info  As shown in Figure 3-1 the debuggerrsquos CDC TX pin is connected to a UART RX pin on the targetfor receiving characters from the host computer Similarly the debuggerrsquos CDC RX pin is connected to aUART TX pin on the target for transmitting characters to the host computer

3122 Operating System SupportOn Windows machines the CDC will enumerate as Curiosity Virtual COM Port and appear in the Ports section of theWindows Device Manager The COM port number can also be found there

Info  On older Windows systems a USB driver is required for CDC This driver is included in installationsof MPLABreg X IDE

On Linux machines the CDC will enumerate and appear as devttyACM

Info  tty devices belong to the ldquodialoutrdquo group in Linux so it may be necessary to become a member ofthat group to have permissions to access the CDC

On MAC machines the CDC will enumerate and appear as devttyusbmodem Depending on which terminalprogram is used it will appear in the available list of modems as usbmodem

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 7

Info  For all operating systems Be sure to use a terminal emulator that supports DTR signaling See 3124 Signaling

3123 LimitationsNot all UART features are implemented in the on-board debugger CDC The constraints are outlined here

bull Baud rate Must be in the range of 1200 bps to 500 kbps Any baud rate outside this range will be set to theclosest limit without warning Baud rate can be changed on-the-fly

bull Character format Only 8-bit characters are supportedbull Parity Can be odd even or nonebull Hardware flow control Not supportedbull Stop bits One or two bits are supported

3124 SignalingDuring USB enumeration the host OS will start both communication and data pipes of the CDC interface At thispoint it is possible to set and read back the baud rate and other UART parameters of the CDC but data sending andreceiving will not be enabled

When a terminal connects on the host it must assert the DTR signal As this is a virtual control signal implementedon the USB interface it is not physically present on the board Asserting the DTR signal from the host will indicate tothe on-board debugger that a CDC session is active The debugger will then enable its level shifters (if available) andstart the CDC data send and receive mechanisms

Deasserting the DTR signal will not disable the level shifters but disable the receiver so no further data will bestreamed to the host Data packets that are already queued up for sending to the target will continue to be sent outbut no further data will be accepted

Remember  Set up the terminal emulator to assert the DTR signal Without the signal the on-boarddebugger will not send or receive any data through its UART

Tip  The on-board debuggerrsquos CDC TX pin will not be driven until the CDC interface is enabled by thehost computer Also there are no external pull-up resistors on the CDC lines connecting the debugger andthe target which means that during power-up these lines are floating To avoid any glitches resulting inunpredictable behavior like framing errors the target device should enable the internal pull-up resistor onthe pin connected to the debuggerrsquos CDC TX pin

3125 Advanced Use

CDC Override ModeIn normal operation the on-board debugger is a true UART bridge between the host and the device However incertain use cases the on-board debugger can override the basic operating mode and use the CDC TX and RX pinsfor other purposes

Dropping a text file into the on-board debuggerrsquos mass storage drive can be used to send characters out of thedebuggerrsquos CDC TX pin The filename and extension are trivial but the text file must start with the charactersCMDSEND_UART=

The maximum message length is 50 characters ndash all remaining data in the frame are ignored

The default baud rate used in this mode is 9600 bps but if the CDC is already active or has been configured thepreviously used baud rate still applies

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 8

USB-Level Framing ConsiderationsSending data from the host to the CDC can be done byte-wise or in blocks which will be chunked into 64-byte USBframes Each such frame will be queued up for sending to the debuggerrsquos CDC TX pin Transferring a small amountof data per frame can be inefficient particularly at low baud rates because the on-board debugger buffers framesand not bytes A maximum of four 64-byte frames can be active at any time The on-board debugger will throttle theincoming frames accordingly Sending full 64-byte frames containing data is the most efficient method

When receiving data on the debuggerrsquos CDC RX pin the on-board debugger will queue up the incoming bytes into64-byte frames which are sent to the USB queue for transmission to the host when they are full Incomplete framesare also pushed to the USB queue at approximately 100 ms intervals triggered by USB start-of-frame tokens Up toeight 64-byte frames can be active at any time

If the host (or the software running on it) fails to receive data fast enough an overrun will occur When this happensthe last-filled buffer frame will be recycled instead of being sent to the USB queue and a full frame of data will belost To prevent this occurrence the user must ensure that the CDC data pipe is being read continuously or theincoming data rate must be reduced

313 Mass Storage DeviceThe on-board debugger includes a simple Mass Storage Device implementation which is accessible for readwriteoperations via the host operating system to which it is connected

It providesbull Read access to basic text and HTML files for detailed kit information and supportbull Write access for programming Intelreg HEX formatted files into the target devicersquos memorybull Write access for simple text files for utility purposes

3131 Mass Storage Device ImplementationThe on-board debugger implements a highly optimized variant of the FAT12 file system that has several limitationspartly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded application

The Curiosity Nano USB Device is USB Chapter 9-compliant as a mass storage device but does not in any wayfulfill the expectations of a general purpose mass storage device This behavior is intentional

When using the Windows operating system the on-board debugger enumerates as a Curiosity Nano USB Devicethat can be found in the disk drives section of the device manager The CURIOSITY drive appears in the file managerand claims the next available drive letter in the system

The CURIOSITY drive contains approximately one MB of free space This does not reflect the size of the targetdevicersquos Flash in any way When programming an Intelreg HEX file the binary data are encoded in ASCII withmetadata 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 filename may appear inthe disk directory listing This is merely the operating systemrsquos view of the directory which in reality has not beenupdated It is not possible to read out the file contents Removing and replugging the board will return the file systemto its original state but the target will still contain the application that has been previously programmed

To erase the target device copy a text file starting with ldquoCMDERASErdquo onto the disk

By default the CURIOSITY drive contains several read-only files for generating icons as well as reporting status andlinking to further information

bull AUTORUNICO ndash icon file for the Microchip logobull AUTORUNINF ndash system file required for Windows Explorer to show the icon filebull KIT-INFOHTM ndash redirect to the development board websitebull KIT-INFOTXT ndash a text file containing details about the boardrsquos debugger firmware version board name USB

serial number device and drag-and-drop supportbull STATUSTXT ndash a text file containing the programming status of the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 9

Info  STATUSTXT is dynamically updated by the on-board debugger The contents may be cached bythe OS and therefore do not reflect the correct status

3132 Configuration Words

Configuration Words (PICreg MCU Targets)Configuration Word settings included in the project being programmed after program Flash is programmed Thedebugger will not mask out any bits in the Configuration Words when writing them but since it uses Low-VoltageProgramming mode it is unable to clear the LVP Configuration bit If the incorrect clock source is selected forexample and the board does not boot it is always possible to perform a bulk erase (always done beforeprogramming) and restore the device to its default settings

3133 Special CommandsSeveral utility commands are supported by copying text files to the mass storage disk The filename or extension isirrelevant ndash the command handler reacts to content only

Table 3-2 Special File Commands

Command Content Description

CMDERASE Executes a chip erase of the target

CMDSEND_UART= Sends a string of characters to the CDC UART See ldquoCDC Override Moderdquo

CMDRESET Resets the target device by entering Programming mode and then exitingProgramming mode immediately thereafter Exact timing can vary according tothe programming interface of the target device (Debugger firmware v116 ornewer)

CMDPOWERTOGGLE Powers down the target and restores power after a 100 ms delay If externalpower is provided this has no effect (Debugger firmware v116 or newer)

CMD0V Powers down the target device by disabling the target supply regulator Ifexternal power is provided this has no effect (Debugger firmware v116 ornewer)

CMD3V3 Sets the target voltage to 33V If external power is provided this has no effect(Debugger firmware v116 or newer)

CMD5V0 Sets the target voltage to 50V If external power is provided this has no effect(Debugger firmware v116 or newer)

Info  The commands listed here are triggered by the content being sent to the mass storage emulateddisk and no feedback is provided in the case of either success or failure

314 Data Gateway Interface (DGI)Data Gateway Interface (DGI) is a USB interface for transporting raw and timestamped data between on-boarddebuggers and host computer-based visualization tools MPLAB Data Visualizer is used on the host computer todisplay debug GPIO data It is available as a plug-in for MPLABreg X IDE or a stand-alone application that can be usedin parallel with MPLABreg X IDE

Although DGI encompasses several physical data interfaces the PIC16F18446 Curiosity Nano implementationincludes logic analyzer channels

bull One debug GPIO channel (also known as DGI GPIO)

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 10

3141 Debug GPIODebug GPIO channels are timestamped digital signal lines connecting the target application to a host computervisualization application They are typically used to plot the occurrence of low-frequency events on a time-axis ndash forexample when certain application state transitions occur

The figure below shows the monitoring of the digital state of a mechanical switch connected to a debug GPIO inMPLAB Data VisualizerFigure 3-2 Monitoring Debug GPIO with MPLABreg Data Visualizer

Debug GPIO channels are timestamped so the resolution of DGI GPIO events is determined by the resolution of theDGI timestamp module

Important  Although bursts of higher-frequency signals can be captured the useful frequency range ofsignals for which debug GPIO can be used is up to about 2 kHz Attempting to capture signals above thisfrequency will result in data saturation and overflow which may cause the DGI session to be aborted

3142 TimestampingDGI sources are timestamped as they are captured by the debugger The timestamp counter implemented in theCuriosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond

32 Curiosity Nano Standard PinoutThe 12 edge connections closest to the USB connector on Curiosity Nano boards have a standardized pinout Theprogramdebug pins have different functions depending on the target programming interface as shown in the tableand figure below

Table 3-3 Curiosity Nano Standard Pinout

Debugger Signal Target MCU Description

ID mdash ID line for extensions

CDC TX UART RX USB CDC TX line

CDC RX UART TX USB CDC RX line

DBG0 ICSPDAT Debug data line

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 11

continuedDebugger Signal Target MCU Description

DBG1 ICSPCLK Debug clock line

DBG2 GPIO0 debug GPIO0

DBG3 MCLR Reset line

NC mdash No connect

VBUS mdash VBUS voltage for external use

VOFF mdash Voltage Off input Disables the target regulator andtarget voltage when pulled low

VTG mdash Target voltage

GND mdash Common ground

Figure 3-3 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

33 Power SupplyThe board is powered through the USB port and contains two LDO regulators one to generate 33V for the on-boarddebugger and an adjustable LDO regulator for the target microcontroller PIC16F18446 and its peripherals Thevoltage from the USB connector can vary between 44V to 525V (according to the USB specification) and will limitthe maximum voltage to the target The figure below shows the entire power supply system on PIC16F18446Curiosity Nano

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 12

Figure 3-4 Power Supply Block Diagram

USBTarget MCU

Power source

Cut strap

Power consumer P3V3DEBUGGER

Power converter

DEBUGGERRegulator

VUSB

TargetRegulator

Power Supply strap

Adjust

Level shifter

VLVLVREG

IO IO GPIOstraps

IO

OnOffMeasure OnOff

ID systemVOFF

PTC Fuse

Power protection

VBUS

Target Power strap

VTG

331 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO The on-board debugger can adjust the voltage outputsupplied to the board target section by manipulating the MIC5353rsquos feedback voltage The hardware implementationis limited to an approximate voltage range from 17V to 51V Additional output voltage limits are configured in thedebugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F18446microcontroller The voltage limits configured in the on-board debugger on PIC16F18446 Curiosity Nano are23-51V

Info  The target voltage is set to 33V when the board is manufactured It can be changed throughMPLAB X IDE project properties Any change to the target voltage is persistent even through a powertoggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program

Info  Voltage settings that are set up in MPLABreg X IDE are not immediately applied to the board Thenew voltage setting is applied to the board when the debugger is accessed in any way like pushing theRefresh Debug Tool Status button in the project dashboard tab or programmingreading program memory

Info  There is a simple option to adjust the target voltage with a drag and drop command text file to theboard This only supports settings of 00V 33V and 50V See section 3133 Special Commands forfurther details

The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small package placed on asmall printed circuit board (PCB) and the thermal shutdown condition can be reached at lower loads than 500 mAThe maximum current load depends on the input voltage the selected output voltage and the ambient temperatureThe figure below shows the safe operating area for the regulator with an input voltage of 51V and an ambienttemperature of 23degC

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 13

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 3: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Worldwide Sales and Service37

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 3

1 Introduction

11 Featuresbull PIC16F18446 Microcontrollerbull One Yellow User LEDbull One Mechanical User Switchbull Footprint for 32768 kHz Crystalbull On-Board Debugger

ndash Board identification in MPLABreg X IDEndash One green power and status LEDndash Programming and debuggingndash Virtual serial port (CDC)ndash One debug GPIO channel (DGI GPIO)

bull USB Poweredbull Adjustable Target Voltage

ndash MIC5353 LDO regulator controlled by the on-board debuggerndash 23-51V output voltage (limited by USB input voltage)ndash 500 mA maximum output current (limited by ambient temperature and output voltage)

12 Kit OverviewThe Microchip PIC16F18446 Curiosity Nano Evaluation Kit is a hardware platform to evaluate the PIC16F18446microcontroller

Figure 1-1 PIC16F18446 Curiosity Nano Evaluation Kit Overview

Micro-USB Connector

DebuggerPowerStatus

LED32768 kHz Crystal

FootprintUser LED

(LED0)User Switch

(SW0)PIC16F18446

MCU

PIC16F18446 Curiosity NanoIntroduction

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 4

2 Getting Started

21 Quick StartSteps to start exploring the PIC16F18446 Curiosity Nano Board

1 Download MPLABreg X IDE2 Launch MPLABreg X IDE3 Optional Use MPLABreg Code Configurator to generate drivers and examples4 Write your application code5 Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the debug USB port on the

board

Driver InstallationWhen the board is connected to your computer for the first time the operating system will perform a driver softwareinstallation The driver file supports both 32- and 64-bit versions of Microsoftreg Windowsreg XP Windows VistaregWindows 7 Windows 8 and Windows 10 The drivers for the board are included with MPLABreg X IDE

Kit WindowOnce the board is powered the green status LED will be lit and MPLABreg X IDE will auto-detect which boards areconnected MPLABreg X IDE will present relevant information like data sheets and board documentation ThePIC16F18446 device on the PIC16F18446 Curiosity Nano Board is programmed and debugged by the on-boarddebugger and therefore no external programmer or debugger tool is required

Tip  The Kit Window can be opened in MPLAB X IDE through the menu bar Window gt Kit Window

22 Design Documentation and Relevant LinksThe following list contains links to the most relevant documents and software for the PIC16F18446 Curiosity NanoBoard

bull MPLABreg X IDE - MPLAB X IDE is a software program that runs on a PC (Windowsreg Mac OSreg Linuxreg) todevelop applications for Microchip microcontrollers and digital signal controllers It is called an IntegratedDevelopment Environment (IDE) because it provides a single integrated ldquoenvironmentrdquo to develop code forembedded microcontrollers

bull MPLABreg Code Configurator - MPLAB Code Configurator (MCC) is a free software plug-in that provides agraphical interface to configure peripherals and functions specific to your application

bull Microchip Sample Store - Microchip sample store where you can order samples of devicesbull MPLAB Data Visualizer - MPLAB Data Visualizer is a program used for processing and visualizing data The

Data Visualizer can receive data from various sources such as serial ports and on-board debuggerrsquos DataGateway Interface as found on Curiosity Nano and Xplained Pro boards

bull Microchip PICreg and AVRreg Examples - Microchip PIC and AVR Device Examples is a collection of examplesand labs that use Microchip development boards to showcase the use of PIC and AVR device peripherals

bull Microchip PICreg and AVRreg Solutions - Microchip PIC and AVR Device Solutions contains completeapplications for use with Microchip development boards ready to be adapted and extended

bull PIC16F18446 Curiosity Nano website - Kit information latest user guide and design documentationbull PIC16F18446 Curiosity Nano on microchipDIRECT - Purchase this kit on microchipDIRECT

PIC16F18446 Curiosity NanoGetting Started

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 5

3 Curiosity NanoCuriosity Nano is an evaluation platform of small boards with access to most of the microcontrollers IOs Theplatform consists of a series of low pin count microcontroller (MCU) boards with on-board debuggers which areintegrated with MPLABreg X IDE Each board is identified in the IDE When plugged in a Kit Window is displayed withlinks to key documentation including relevant user guides application notes data sheets and example codeEverything is easy to find The on-board debugger features a virtual serial port (CDC) for serial communication to ahost PC and a Data Gateway Interface (DGI) with debug GPIO pin(s)

31 On-Board Debugger OverviewPIC16F18446 Curiosity Nano contains an on-board debugger for programming and debugging The on-boarddebugger is a composite USB device consisting of several interfaces

bull A debugger that can program and debug the PIC16F18446 in MPLABreg X IDEbull A mass storage device that allows drag-and-drop programming of the PIC16F18446bull A virtual serial port (CDC) that is connected to a Universal Asynchronous ReceiverTransmitter (UART) on the

PIC16F18446 and provides an easy way to communicate with the target application through terminal softwarebull A Data Gateway Interface (DGI) for code instrumentation with logic analyzer channels (debug GPIO) to visualize

program flow

The on-board debugger controls a Power and Status LED (marked PS) on the PIC16F18446 Curiosity Nano BoardThe table below shows how the LED is controlled in different operation modes

Table 3-1 On-Board Debugger LED Control

Operation Mode Power and Status LED

Boot Loader mode The LED blinks slowly during power-up

Power-up The LED is ON

Normal operation The LED is ON

Programming Activity indicator The LED blinks slowly during programmingdebugging

Drag-and-dropprogramming Success The LED blinks slowly for 2 sec

Failure The LED blinks rapidly for 2 sec

Fault The LED blinks rapidly if a power fault is detected

SleepOff The LED is OFF The on-board debugger is either in a sleep mode or powered downThis can occur if the board is externally powered

Info  Slow blinking is approximately 1 Hz and rapid blinking is approximately 5 Hz

311 DebuggerThe on-board debugger on the PIC16F18446 Curiosity Nano Board appears as a Human Interface Device (HID) onthe host computerrsquos USB subsystem The debugger supports full-featured programming and debugging of thePIC16F18446 using MPLABreg X IDE

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 6

Remember  Keep the debuggerrsquos firmware up-to-date Firmware upgrades are done automatically whenusing MPLABreg X IDE

312 Virtual Serial Port (CDC)The virtual serial port (CDC) is a general purpose serial bridge between a host PC and a target device

3121 OverviewThe on-board debugger implements a composite USB device that includes a standard Communications Device Class(CDC) interface which appears on the host as a virtual serial port The CDC can be used to stream arbitrary data inboth directions between the host computer and the target All characters sent through the virtual serial port on thehost computer will be transmitted as UART on the debuggerrsquos CDC TX pin and UART characters captured on thedebuggerrsquos CDC RX pin will be returned to the host computer through the virtual serial port

Figure 3-1 CDC Connection

Target MCU

UART TX

UART RX

Debugger

USBCDC RX

CDC TX

PCTerminalSoftware

TargetReceive

TargetSend

TerminalReceive

TerminalSend

Info  As shown in Figure 3-1 the debuggerrsquos CDC TX pin is connected to a UART RX pin on the targetfor receiving characters from the host computer Similarly the debuggerrsquos CDC RX pin is connected to aUART TX pin on the target for transmitting characters to the host computer

3122 Operating System SupportOn Windows machines the CDC will enumerate as Curiosity Virtual COM Port and appear in the Ports section of theWindows Device Manager The COM port number can also be found there

Info  On older Windows systems a USB driver is required for CDC This driver is included in installationsof MPLABreg X IDE

On Linux machines the CDC will enumerate and appear as devttyACM

Info  tty devices belong to the ldquodialoutrdquo group in Linux so it may be necessary to become a member ofthat group to have permissions to access the CDC

On MAC machines the CDC will enumerate and appear as devttyusbmodem Depending on which terminalprogram is used it will appear in the available list of modems as usbmodem

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 7

Info  For all operating systems Be sure to use a terminal emulator that supports DTR signaling See 3124 Signaling

3123 LimitationsNot all UART features are implemented in the on-board debugger CDC The constraints are outlined here

bull Baud rate Must be in the range of 1200 bps to 500 kbps Any baud rate outside this range will be set to theclosest limit without warning Baud rate can be changed on-the-fly

bull Character format Only 8-bit characters are supportedbull Parity Can be odd even or nonebull Hardware flow control Not supportedbull Stop bits One or two bits are supported

3124 SignalingDuring USB enumeration the host OS will start both communication and data pipes of the CDC interface At thispoint it is possible to set and read back the baud rate and other UART parameters of the CDC but data sending andreceiving will not be enabled

When a terminal connects on the host it must assert the DTR signal As this is a virtual control signal implementedon the USB interface it is not physically present on the board Asserting the DTR signal from the host will indicate tothe on-board debugger that a CDC session is active The debugger will then enable its level shifters (if available) andstart the CDC data send and receive mechanisms

Deasserting the DTR signal will not disable the level shifters but disable the receiver so no further data will bestreamed to the host Data packets that are already queued up for sending to the target will continue to be sent outbut no further data will be accepted

Remember  Set up the terminal emulator to assert the DTR signal Without the signal the on-boarddebugger will not send or receive any data through its UART

Tip  The on-board debuggerrsquos CDC TX pin will not be driven until the CDC interface is enabled by thehost computer Also there are no external pull-up resistors on the CDC lines connecting the debugger andthe target which means that during power-up these lines are floating To avoid any glitches resulting inunpredictable behavior like framing errors the target device should enable the internal pull-up resistor onthe pin connected to the debuggerrsquos CDC TX pin

3125 Advanced Use

CDC Override ModeIn normal operation the on-board debugger is a true UART bridge between the host and the device However incertain use cases the on-board debugger can override the basic operating mode and use the CDC TX and RX pinsfor other purposes

Dropping a text file into the on-board debuggerrsquos mass storage drive can be used to send characters out of thedebuggerrsquos CDC TX pin The filename and extension are trivial but the text file must start with the charactersCMDSEND_UART=

The maximum message length is 50 characters ndash all remaining data in the frame are ignored

The default baud rate used in this mode is 9600 bps but if the CDC is already active or has been configured thepreviously used baud rate still applies

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 8

USB-Level Framing ConsiderationsSending data from the host to the CDC can be done byte-wise or in blocks which will be chunked into 64-byte USBframes Each such frame will be queued up for sending to the debuggerrsquos CDC TX pin Transferring a small amountof data per frame can be inefficient particularly at low baud rates because the on-board debugger buffers framesand not bytes A maximum of four 64-byte frames can be active at any time The on-board debugger will throttle theincoming frames accordingly Sending full 64-byte frames containing data is the most efficient method

When receiving data on the debuggerrsquos CDC RX pin the on-board debugger will queue up the incoming bytes into64-byte frames which are sent to the USB queue for transmission to the host when they are full Incomplete framesare also pushed to the USB queue at approximately 100 ms intervals triggered by USB start-of-frame tokens Up toeight 64-byte frames can be active at any time

If the host (or the software running on it) fails to receive data fast enough an overrun will occur When this happensthe last-filled buffer frame will be recycled instead of being sent to the USB queue and a full frame of data will belost To prevent this occurrence the user must ensure that the CDC data pipe is being read continuously or theincoming data rate must be reduced

313 Mass Storage DeviceThe on-board debugger includes a simple Mass Storage Device implementation which is accessible for readwriteoperations via the host operating system to which it is connected

It providesbull Read access to basic text and HTML files for detailed kit information and supportbull Write access for programming Intelreg HEX formatted files into the target devicersquos memorybull Write access for simple text files for utility purposes

3131 Mass Storage Device ImplementationThe on-board debugger implements a highly optimized variant of the FAT12 file system that has several limitationspartly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded application

The Curiosity Nano USB Device is USB Chapter 9-compliant as a mass storage device but does not in any wayfulfill the expectations of a general purpose mass storage device This behavior is intentional

When using the Windows operating system the on-board debugger enumerates as a Curiosity Nano USB Devicethat can be found in the disk drives section of the device manager The CURIOSITY drive appears in the file managerand claims the next available drive letter in the system

The CURIOSITY drive contains approximately one MB of free space This does not reflect the size of the targetdevicersquos Flash in any way When programming an Intelreg HEX file the binary data are encoded in ASCII withmetadata 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 filename may appear inthe disk directory listing This is merely the operating systemrsquos view of the directory which in reality has not beenupdated It is not possible to read out the file contents Removing and replugging the board will return the file systemto its original state but the target will still contain the application that has been previously programmed

To erase the target device copy a text file starting with ldquoCMDERASErdquo onto the disk

By default the CURIOSITY drive contains several read-only files for generating icons as well as reporting status andlinking to further information

bull AUTORUNICO ndash icon file for the Microchip logobull AUTORUNINF ndash system file required for Windows Explorer to show the icon filebull KIT-INFOHTM ndash redirect to the development board websitebull KIT-INFOTXT ndash a text file containing details about the boardrsquos debugger firmware version board name USB

serial number device and drag-and-drop supportbull STATUSTXT ndash a text file containing the programming status of the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 9

Info  STATUSTXT is dynamically updated by the on-board debugger The contents may be cached bythe OS and therefore do not reflect the correct status

3132 Configuration Words

Configuration Words (PICreg MCU Targets)Configuration Word settings included in the project being programmed after program Flash is programmed Thedebugger will not mask out any bits in the Configuration Words when writing them but since it uses Low-VoltageProgramming mode it is unable to clear the LVP Configuration bit If the incorrect clock source is selected forexample and the board does not boot it is always possible to perform a bulk erase (always done beforeprogramming) and restore the device to its default settings

3133 Special CommandsSeveral utility commands are supported by copying text files to the mass storage disk The filename or extension isirrelevant ndash the command handler reacts to content only

Table 3-2 Special File Commands

Command Content Description

CMDERASE Executes a chip erase of the target

CMDSEND_UART= Sends a string of characters to the CDC UART See ldquoCDC Override Moderdquo

CMDRESET Resets the target device by entering Programming mode and then exitingProgramming mode immediately thereafter Exact timing can vary according tothe programming interface of the target device (Debugger firmware v116 ornewer)

CMDPOWERTOGGLE Powers down the target and restores power after a 100 ms delay If externalpower is provided this has no effect (Debugger firmware v116 or newer)

CMD0V Powers down the target device by disabling the target supply regulator Ifexternal power is provided this has no effect (Debugger firmware v116 ornewer)

CMD3V3 Sets the target voltage to 33V If external power is provided this has no effect(Debugger firmware v116 or newer)

CMD5V0 Sets the target voltage to 50V If external power is provided this has no effect(Debugger firmware v116 or newer)

Info  The commands listed here are triggered by the content being sent to the mass storage emulateddisk and no feedback is provided in the case of either success or failure

314 Data Gateway Interface (DGI)Data Gateway Interface (DGI) is a USB interface for transporting raw and timestamped data between on-boarddebuggers and host computer-based visualization tools MPLAB Data Visualizer is used on the host computer todisplay debug GPIO data It is available as a plug-in for MPLABreg X IDE or a stand-alone application that can be usedin parallel with MPLABreg X IDE

Although DGI encompasses several physical data interfaces the PIC16F18446 Curiosity Nano implementationincludes logic analyzer channels

bull One debug GPIO channel (also known as DGI GPIO)

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 10

3141 Debug GPIODebug GPIO channels are timestamped digital signal lines connecting the target application to a host computervisualization application They are typically used to plot the occurrence of low-frequency events on a time-axis ndash forexample when certain application state transitions occur

The figure below shows the monitoring of the digital state of a mechanical switch connected to a debug GPIO inMPLAB Data VisualizerFigure 3-2 Monitoring Debug GPIO with MPLABreg Data Visualizer

Debug GPIO channels are timestamped so the resolution of DGI GPIO events is determined by the resolution of theDGI timestamp module

Important  Although bursts of higher-frequency signals can be captured the useful frequency range ofsignals for which debug GPIO can be used is up to about 2 kHz Attempting to capture signals above thisfrequency will result in data saturation and overflow which may cause the DGI session to be aborted

3142 TimestampingDGI sources are timestamped as they are captured by the debugger The timestamp counter implemented in theCuriosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond

32 Curiosity Nano Standard PinoutThe 12 edge connections closest to the USB connector on Curiosity Nano boards have a standardized pinout Theprogramdebug pins have different functions depending on the target programming interface as shown in the tableand figure below

Table 3-3 Curiosity Nano Standard Pinout

Debugger Signal Target MCU Description

ID mdash ID line for extensions

CDC TX UART RX USB CDC TX line

CDC RX UART TX USB CDC RX line

DBG0 ICSPDAT Debug data line

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 11

continuedDebugger Signal Target MCU Description

DBG1 ICSPCLK Debug clock line

DBG2 GPIO0 debug GPIO0

DBG3 MCLR Reset line

NC mdash No connect

VBUS mdash VBUS voltage for external use

VOFF mdash Voltage Off input Disables the target regulator andtarget voltage when pulled low

VTG mdash Target voltage

GND mdash Common ground

Figure 3-3 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

33 Power SupplyThe board is powered through the USB port and contains two LDO regulators one to generate 33V for the on-boarddebugger and an adjustable LDO regulator for the target microcontroller PIC16F18446 and its peripherals Thevoltage from the USB connector can vary between 44V to 525V (according to the USB specification) and will limitthe maximum voltage to the target The figure below shows the entire power supply system on PIC16F18446Curiosity Nano

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 12

Figure 3-4 Power Supply Block Diagram

USBTarget MCU

Power source

Cut strap

Power consumer P3V3DEBUGGER

Power converter

DEBUGGERRegulator

VUSB

TargetRegulator

Power Supply strap

Adjust

Level shifter

VLVLVREG

IO IO GPIOstraps

IO

OnOffMeasure OnOff

ID systemVOFF

PTC Fuse

Power protection

VBUS

Target Power strap

VTG

331 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO The on-board debugger can adjust the voltage outputsupplied to the board target section by manipulating the MIC5353rsquos feedback voltage The hardware implementationis limited to an approximate voltage range from 17V to 51V Additional output voltage limits are configured in thedebugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F18446microcontroller The voltage limits configured in the on-board debugger on PIC16F18446 Curiosity Nano are23-51V

Info  The target voltage is set to 33V when the board is manufactured It can be changed throughMPLAB X IDE project properties Any change to the target voltage is persistent even through a powertoggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program

Info  Voltage settings that are set up in MPLABreg X IDE are not immediately applied to the board Thenew voltage setting is applied to the board when the debugger is accessed in any way like pushing theRefresh Debug Tool Status button in the project dashboard tab or programmingreading program memory

Info  There is a simple option to adjust the target voltage with a drag and drop command text file to theboard This only supports settings of 00V 33V and 50V See section 3133 Special Commands forfurther details

The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small package placed on asmall printed circuit board (PCB) and the thermal shutdown condition can be reached at lower loads than 500 mAThe maximum current load depends on the input voltage the selected output voltage and the ambient temperatureThe figure below shows the safe operating area for the regulator with an input voltage of 51V and an ambienttemperature of 23degC

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 13

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 4: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

1 Introduction

11 Featuresbull PIC16F18446 Microcontrollerbull One Yellow User LEDbull One Mechanical User Switchbull Footprint for 32768 kHz Crystalbull On-Board Debugger

ndash Board identification in MPLABreg X IDEndash One green power and status LEDndash Programming and debuggingndash Virtual serial port (CDC)ndash One debug GPIO channel (DGI GPIO)

bull USB Poweredbull Adjustable Target Voltage

ndash MIC5353 LDO regulator controlled by the on-board debuggerndash 23-51V output voltage (limited by USB input voltage)ndash 500 mA maximum output current (limited by ambient temperature and output voltage)

12 Kit OverviewThe Microchip PIC16F18446 Curiosity Nano Evaluation Kit is a hardware platform to evaluate the PIC16F18446microcontroller

Figure 1-1 PIC16F18446 Curiosity Nano Evaluation Kit Overview

Micro-USB Connector

DebuggerPowerStatus

LED32768 kHz Crystal

FootprintUser LED

(LED0)User Switch

(SW0)PIC16F18446

MCU

PIC16F18446 Curiosity NanoIntroduction

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 4

2 Getting Started

21 Quick StartSteps to start exploring the PIC16F18446 Curiosity Nano Board

1 Download MPLABreg X IDE2 Launch MPLABreg X IDE3 Optional Use MPLABreg Code Configurator to generate drivers and examples4 Write your application code5 Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the debug USB port on the

board

Driver InstallationWhen the board is connected to your computer for the first time the operating system will perform a driver softwareinstallation The driver file supports both 32- and 64-bit versions of Microsoftreg Windowsreg XP Windows VistaregWindows 7 Windows 8 and Windows 10 The drivers for the board are included with MPLABreg X IDE

Kit WindowOnce the board is powered the green status LED will be lit and MPLABreg X IDE will auto-detect which boards areconnected MPLABreg X IDE will present relevant information like data sheets and board documentation ThePIC16F18446 device on the PIC16F18446 Curiosity Nano Board is programmed and debugged by the on-boarddebugger and therefore no external programmer or debugger tool is required

Tip  The Kit Window can be opened in MPLAB X IDE through the menu bar Window gt Kit Window

22 Design Documentation and Relevant LinksThe following list contains links to the most relevant documents and software for the PIC16F18446 Curiosity NanoBoard

bull MPLABreg X IDE - MPLAB X IDE is a software program that runs on a PC (Windowsreg Mac OSreg Linuxreg) todevelop applications for Microchip microcontrollers and digital signal controllers It is called an IntegratedDevelopment Environment (IDE) because it provides a single integrated ldquoenvironmentrdquo to develop code forembedded microcontrollers

bull MPLABreg Code Configurator - MPLAB Code Configurator (MCC) is a free software plug-in that provides agraphical interface to configure peripherals and functions specific to your application

bull Microchip Sample Store - Microchip sample store where you can order samples of devicesbull MPLAB Data Visualizer - MPLAB Data Visualizer is a program used for processing and visualizing data The

Data Visualizer can receive data from various sources such as serial ports and on-board debuggerrsquos DataGateway Interface as found on Curiosity Nano and Xplained Pro boards

bull Microchip PICreg and AVRreg Examples - Microchip PIC and AVR Device Examples is a collection of examplesand labs that use Microchip development boards to showcase the use of PIC and AVR device peripherals

bull Microchip PICreg and AVRreg Solutions - Microchip PIC and AVR Device Solutions contains completeapplications for use with Microchip development boards ready to be adapted and extended

bull PIC16F18446 Curiosity Nano website - Kit information latest user guide and design documentationbull PIC16F18446 Curiosity Nano on microchipDIRECT - Purchase this kit on microchipDIRECT

PIC16F18446 Curiosity NanoGetting Started

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 5

3 Curiosity NanoCuriosity Nano is an evaluation platform of small boards with access to most of the microcontrollers IOs Theplatform consists of a series of low pin count microcontroller (MCU) boards with on-board debuggers which areintegrated with MPLABreg X IDE Each board is identified in the IDE When plugged in a Kit Window is displayed withlinks to key documentation including relevant user guides application notes data sheets and example codeEverything is easy to find The on-board debugger features a virtual serial port (CDC) for serial communication to ahost PC and a Data Gateway Interface (DGI) with debug GPIO pin(s)

31 On-Board Debugger OverviewPIC16F18446 Curiosity Nano contains an on-board debugger for programming and debugging The on-boarddebugger is a composite USB device consisting of several interfaces

bull A debugger that can program and debug the PIC16F18446 in MPLABreg X IDEbull A mass storage device that allows drag-and-drop programming of the PIC16F18446bull A virtual serial port (CDC) that is connected to a Universal Asynchronous ReceiverTransmitter (UART) on the

PIC16F18446 and provides an easy way to communicate with the target application through terminal softwarebull A Data Gateway Interface (DGI) for code instrumentation with logic analyzer channels (debug GPIO) to visualize

program flow

The on-board debugger controls a Power and Status LED (marked PS) on the PIC16F18446 Curiosity Nano BoardThe table below shows how the LED is controlled in different operation modes

Table 3-1 On-Board Debugger LED Control

Operation Mode Power and Status LED

Boot Loader mode The LED blinks slowly during power-up

Power-up The LED is ON

Normal operation The LED is ON

Programming Activity indicator The LED blinks slowly during programmingdebugging

Drag-and-dropprogramming Success The LED blinks slowly for 2 sec

Failure The LED blinks rapidly for 2 sec

Fault The LED blinks rapidly if a power fault is detected

SleepOff The LED is OFF The on-board debugger is either in a sleep mode or powered downThis can occur if the board is externally powered

Info  Slow blinking is approximately 1 Hz and rapid blinking is approximately 5 Hz

311 DebuggerThe on-board debugger on the PIC16F18446 Curiosity Nano Board appears as a Human Interface Device (HID) onthe host computerrsquos USB subsystem The debugger supports full-featured programming and debugging of thePIC16F18446 using MPLABreg X IDE

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 6

Remember  Keep the debuggerrsquos firmware up-to-date Firmware upgrades are done automatically whenusing MPLABreg X IDE

312 Virtual Serial Port (CDC)The virtual serial port (CDC) is a general purpose serial bridge between a host PC and a target device

3121 OverviewThe on-board debugger implements a composite USB device that includes a standard Communications Device Class(CDC) interface which appears on the host as a virtual serial port The CDC can be used to stream arbitrary data inboth directions between the host computer and the target All characters sent through the virtual serial port on thehost computer will be transmitted as UART on the debuggerrsquos CDC TX pin and UART characters captured on thedebuggerrsquos CDC RX pin will be returned to the host computer through the virtual serial port

Figure 3-1 CDC Connection

Target MCU

UART TX

UART RX

Debugger

USBCDC RX

CDC TX

PCTerminalSoftware

TargetReceive

TargetSend

TerminalReceive

TerminalSend

Info  As shown in Figure 3-1 the debuggerrsquos CDC TX pin is connected to a UART RX pin on the targetfor receiving characters from the host computer Similarly the debuggerrsquos CDC RX pin is connected to aUART TX pin on the target for transmitting characters to the host computer

3122 Operating System SupportOn Windows machines the CDC will enumerate as Curiosity Virtual COM Port and appear in the Ports section of theWindows Device Manager The COM port number can also be found there

Info  On older Windows systems a USB driver is required for CDC This driver is included in installationsof MPLABreg X IDE

On Linux machines the CDC will enumerate and appear as devttyACM

Info  tty devices belong to the ldquodialoutrdquo group in Linux so it may be necessary to become a member ofthat group to have permissions to access the CDC

On MAC machines the CDC will enumerate and appear as devttyusbmodem Depending on which terminalprogram is used it will appear in the available list of modems as usbmodem

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 7

Info  For all operating systems Be sure to use a terminal emulator that supports DTR signaling See 3124 Signaling

3123 LimitationsNot all UART features are implemented in the on-board debugger CDC The constraints are outlined here

bull Baud rate Must be in the range of 1200 bps to 500 kbps Any baud rate outside this range will be set to theclosest limit without warning Baud rate can be changed on-the-fly

bull Character format Only 8-bit characters are supportedbull Parity Can be odd even or nonebull Hardware flow control Not supportedbull Stop bits One or two bits are supported

3124 SignalingDuring USB enumeration the host OS will start both communication and data pipes of the CDC interface At thispoint it is possible to set and read back the baud rate and other UART parameters of the CDC but data sending andreceiving will not be enabled

When a terminal connects on the host it must assert the DTR signal As this is a virtual control signal implementedon the USB interface it is not physically present on the board Asserting the DTR signal from the host will indicate tothe on-board debugger that a CDC session is active The debugger will then enable its level shifters (if available) andstart the CDC data send and receive mechanisms

Deasserting the DTR signal will not disable the level shifters but disable the receiver so no further data will bestreamed to the host Data packets that are already queued up for sending to the target will continue to be sent outbut no further data will be accepted

Remember  Set up the terminal emulator to assert the DTR signal Without the signal the on-boarddebugger will not send or receive any data through its UART

Tip  The on-board debuggerrsquos CDC TX pin will not be driven until the CDC interface is enabled by thehost computer Also there are no external pull-up resistors on the CDC lines connecting the debugger andthe target which means that during power-up these lines are floating To avoid any glitches resulting inunpredictable behavior like framing errors the target device should enable the internal pull-up resistor onthe pin connected to the debuggerrsquos CDC TX pin

3125 Advanced Use

CDC Override ModeIn normal operation the on-board debugger is a true UART bridge between the host and the device However incertain use cases the on-board debugger can override the basic operating mode and use the CDC TX and RX pinsfor other purposes

Dropping a text file into the on-board debuggerrsquos mass storage drive can be used to send characters out of thedebuggerrsquos CDC TX pin The filename and extension are trivial but the text file must start with the charactersCMDSEND_UART=

The maximum message length is 50 characters ndash all remaining data in the frame are ignored

The default baud rate used in this mode is 9600 bps but if the CDC is already active or has been configured thepreviously used baud rate still applies

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 8

USB-Level Framing ConsiderationsSending data from the host to the CDC can be done byte-wise or in blocks which will be chunked into 64-byte USBframes Each such frame will be queued up for sending to the debuggerrsquos CDC TX pin Transferring a small amountof data per frame can be inefficient particularly at low baud rates because the on-board debugger buffers framesand not bytes A maximum of four 64-byte frames can be active at any time The on-board debugger will throttle theincoming frames accordingly Sending full 64-byte frames containing data is the most efficient method

When receiving data on the debuggerrsquos CDC RX pin the on-board debugger will queue up the incoming bytes into64-byte frames which are sent to the USB queue for transmission to the host when they are full Incomplete framesare also pushed to the USB queue at approximately 100 ms intervals triggered by USB start-of-frame tokens Up toeight 64-byte frames can be active at any time

If the host (or the software running on it) fails to receive data fast enough an overrun will occur When this happensthe last-filled buffer frame will be recycled instead of being sent to the USB queue and a full frame of data will belost To prevent this occurrence the user must ensure that the CDC data pipe is being read continuously or theincoming data rate must be reduced

313 Mass Storage DeviceThe on-board debugger includes a simple Mass Storage Device implementation which is accessible for readwriteoperations via the host operating system to which it is connected

It providesbull Read access to basic text and HTML files for detailed kit information and supportbull Write access for programming Intelreg HEX formatted files into the target devicersquos memorybull Write access for simple text files for utility purposes

3131 Mass Storage Device ImplementationThe on-board debugger implements a highly optimized variant of the FAT12 file system that has several limitationspartly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded application

The Curiosity Nano USB Device is USB Chapter 9-compliant as a mass storage device but does not in any wayfulfill the expectations of a general purpose mass storage device This behavior is intentional

When using the Windows operating system the on-board debugger enumerates as a Curiosity Nano USB Devicethat can be found in the disk drives section of the device manager The CURIOSITY drive appears in the file managerand claims the next available drive letter in the system

The CURIOSITY drive contains approximately one MB of free space This does not reflect the size of the targetdevicersquos Flash in any way When programming an Intelreg HEX file the binary data are encoded in ASCII withmetadata 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 filename may appear inthe disk directory listing This is merely the operating systemrsquos view of the directory which in reality has not beenupdated It is not possible to read out the file contents Removing and replugging the board will return the file systemto its original state but the target will still contain the application that has been previously programmed

To erase the target device copy a text file starting with ldquoCMDERASErdquo onto the disk

By default the CURIOSITY drive contains several read-only files for generating icons as well as reporting status andlinking to further information

bull AUTORUNICO ndash icon file for the Microchip logobull AUTORUNINF ndash system file required for Windows Explorer to show the icon filebull KIT-INFOHTM ndash redirect to the development board websitebull KIT-INFOTXT ndash a text file containing details about the boardrsquos debugger firmware version board name USB

serial number device and drag-and-drop supportbull STATUSTXT ndash a text file containing the programming status of the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 9

Info  STATUSTXT is dynamically updated by the on-board debugger The contents may be cached bythe OS and therefore do not reflect the correct status

3132 Configuration Words

Configuration Words (PICreg MCU Targets)Configuration Word settings included in the project being programmed after program Flash is programmed Thedebugger will not mask out any bits in the Configuration Words when writing them but since it uses Low-VoltageProgramming mode it is unable to clear the LVP Configuration bit If the incorrect clock source is selected forexample and the board does not boot it is always possible to perform a bulk erase (always done beforeprogramming) and restore the device to its default settings

3133 Special CommandsSeveral utility commands are supported by copying text files to the mass storage disk The filename or extension isirrelevant ndash the command handler reacts to content only

Table 3-2 Special File Commands

Command Content Description

CMDERASE Executes a chip erase of the target

CMDSEND_UART= Sends a string of characters to the CDC UART See ldquoCDC Override Moderdquo

CMDRESET Resets the target device by entering Programming mode and then exitingProgramming mode immediately thereafter Exact timing can vary according tothe programming interface of the target device (Debugger firmware v116 ornewer)

CMDPOWERTOGGLE Powers down the target and restores power after a 100 ms delay If externalpower is provided this has no effect (Debugger firmware v116 or newer)

CMD0V Powers down the target device by disabling the target supply regulator Ifexternal power is provided this has no effect (Debugger firmware v116 ornewer)

CMD3V3 Sets the target voltage to 33V If external power is provided this has no effect(Debugger firmware v116 or newer)

CMD5V0 Sets the target voltage to 50V If external power is provided this has no effect(Debugger firmware v116 or newer)

Info  The commands listed here are triggered by the content being sent to the mass storage emulateddisk and no feedback is provided in the case of either success or failure

314 Data Gateway Interface (DGI)Data Gateway Interface (DGI) is a USB interface for transporting raw and timestamped data between on-boarddebuggers and host computer-based visualization tools MPLAB Data Visualizer is used on the host computer todisplay debug GPIO data It is available as a plug-in for MPLABreg X IDE or a stand-alone application that can be usedin parallel with MPLABreg X IDE

Although DGI encompasses several physical data interfaces the PIC16F18446 Curiosity Nano implementationincludes logic analyzer channels

bull One debug GPIO channel (also known as DGI GPIO)

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 10

3141 Debug GPIODebug GPIO channels are timestamped digital signal lines connecting the target application to a host computervisualization application They are typically used to plot the occurrence of low-frequency events on a time-axis ndash forexample when certain application state transitions occur

The figure below shows the monitoring of the digital state of a mechanical switch connected to a debug GPIO inMPLAB Data VisualizerFigure 3-2 Monitoring Debug GPIO with MPLABreg Data Visualizer

Debug GPIO channels are timestamped so the resolution of DGI GPIO events is determined by the resolution of theDGI timestamp module

Important  Although bursts of higher-frequency signals can be captured the useful frequency range ofsignals for which debug GPIO can be used is up to about 2 kHz Attempting to capture signals above thisfrequency will result in data saturation and overflow which may cause the DGI session to be aborted

3142 TimestampingDGI sources are timestamped as they are captured by the debugger The timestamp counter implemented in theCuriosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond

32 Curiosity Nano Standard PinoutThe 12 edge connections closest to the USB connector on Curiosity Nano boards have a standardized pinout Theprogramdebug pins have different functions depending on the target programming interface as shown in the tableand figure below

Table 3-3 Curiosity Nano Standard Pinout

Debugger Signal Target MCU Description

ID mdash ID line for extensions

CDC TX UART RX USB CDC TX line

CDC RX UART TX USB CDC RX line

DBG0 ICSPDAT Debug data line

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 11

continuedDebugger Signal Target MCU Description

DBG1 ICSPCLK Debug clock line

DBG2 GPIO0 debug GPIO0

DBG3 MCLR Reset line

NC mdash No connect

VBUS mdash VBUS voltage for external use

VOFF mdash Voltage Off input Disables the target regulator andtarget voltage when pulled low

VTG mdash Target voltage

GND mdash Common ground

Figure 3-3 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

33 Power SupplyThe board is powered through the USB port and contains two LDO regulators one to generate 33V for the on-boarddebugger and an adjustable LDO regulator for the target microcontroller PIC16F18446 and its peripherals Thevoltage from the USB connector can vary between 44V to 525V (according to the USB specification) and will limitthe maximum voltage to the target The figure below shows the entire power supply system on PIC16F18446Curiosity Nano

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 12

Figure 3-4 Power Supply Block Diagram

USBTarget MCU

Power source

Cut strap

Power consumer P3V3DEBUGGER

Power converter

DEBUGGERRegulator

VUSB

TargetRegulator

Power Supply strap

Adjust

Level shifter

VLVLVREG

IO IO GPIOstraps

IO

OnOffMeasure OnOff

ID systemVOFF

PTC Fuse

Power protection

VBUS

Target Power strap

VTG

331 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO The on-board debugger can adjust the voltage outputsupplied to the board target section by manipulating the MIC5353rsquos feedback voltage The hardware implementationis limited to an approximate voltage range from 17V to 51V Additional output voltage limits are configured in thedebugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F18446microcontroller The voltage limits configured in the on-board debugger on PIC16F18446 Curiosity Nano are23-51V

Info  The target voltage is set to 33V when the board is manufactured It can be changed throughMPLAB X IDE project properties Any change to the target voltage is persistent even through a powertoggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program

Info  Voltage settings that are set up in MPLABreg X IDE are not immediately applied to the board Thenew voltage setting is applied to the board when the debugger is accessed in any way like pushing theRefresh Debug Tool Status button in the project dashboard tab or programmingreading program memory

Info  There is a simple option to adjust the target voltage with a drag and drop command text file to theboard This only supports settings of 00V 33V and 50V See section 3133 Special Commands forfurther details

The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small package placed on asmall printed circuit board (PCB) and the thermal shutdown condition can be reached at lower loads than 500 mAThe maximum current load depends on the input voltage the selected output voltage and the ambient temperatureThe figure below shows the safe operating area for the regulator with an input voltage of 51V and an ambienttemperature of 23degC

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 13

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 5: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

2 Getting Started

21 Quick StartSteps to start exploring the PIC16F18446 Curiosity Nano Board

1 Download MPLABreg X IDE2 Launch MPLABreg X IDE3 Optional Use MPLABreg Code Configurator to generate drivers and examples4 Write your application code5 Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the debug USB port on the

board

Driver InstallationWhen the board is connected to your computer for the first time the operating system will perform a driver softwareinstallation The driver file supports both 32- and 64-bit versions of Microsoftreg Windowsreg XP Windows VistaregWindows 7 Windows 8 and Windows 10 The drivers for the board are included with MPLABreg X IDE

Kit WindowOnce the board is powered the green status LED will be lit and MPLABreg X IDE will auto-detect which boards areconnected MPLABreg X IDE will present relevant information like data sheets and board documentation ThePIC16F18446 device on the PIC16F18446 Curiosity Nano Board is programmed and debugged by the on-boarddebugger and therefore no external programmer or debugger tool is required

Tip  The Kit Window can be opened in MPLAB X IDE through the menu bar Window gt Kit Window

22 Design Documentation and Relevant LinksThe following list contains links to the most relevant documents and software for the PIC16F18446 Curiosity NanoBoard

bull MPLABreg X IDE - MPLAB X IDE is a software program that runs on a PC (Windowsreg Mac OSreg Linuxreg) todevelop applications for Microchip microcontrollers and digital signal controllers It is called an IntegratedDevelopment Environment (IDE) because it provides a single integrated ldquoenvironmentrdquo to develop code forembedded microcontrollers

bull MPLABreg Code Configurator - MPLAB Code Configurator (MCC) is a free software plug-in that provides agraphical interface to configure peripherals and functions specific to your application

bull Microchip Sample Store - Microchip sample store where you can order samples of devicesbull MPLAB Data Visualizer - MPLAB Data Visualizer is a program used for processing and visualizing data The

Data Visualizer can receive data from various sources such as serial ports and on-board debuggerrsquos DataGateway Interface as found on Curiosity Nano and Xplained Pro boards

bull Microchip PICreg and AVRreg Examples - Microchip PIC and AVR Device Examples is a collection of examplesand labs that use Microchip development boards to showcase the use of PIC and AVR device peripherals

bull Microchip PICreg and AVRreg Solutions - Microchip PIC and AVR Device Solutions contains completeapplications for use with Microchip development boards ready to be adapted and extended

bull PIC16F18446 Curiosity Nano website - Kit information latest user guide and design documentationbull PIC16F18446 Curiosity Nano on microchipDIRECT - Purchase this kit on microchipDIRECT

PIC16F18446 Curiosity NanoGetting Started

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 5

3 Curiosity NanoCuriosity Nano is an evaluation platform of small boards with access to most of the microcontrollers IOs Theplatform consists of a series of low pin count microcontroller (MCU) boards with on-board debuggers which areintegrated with MPLABreg X IDE Each board is identified in the IDE When plugged in a Kit Window is displayed withlinks to key documentation including relevant user guides application notes data sheets and example codeEverything is easy to find The on-board debugger features a virtual serial port (CDC) for serial communication to ahost PC and a Data Gateway Interface (DGI) with debug GPIO pin(s)

31 On-Board Debugger OverviewPIC16F18446 Curiosity Nano contains an on-board debugger for programming and debugging The on-boarddebugger is a composite USB device consisting of several interfaces

bull A debugger that can program and debug the PIC16F18446 in MPLABreg X IDEbull A mass storage device that allows drag-and-drop programming of the PIC16F18446bull A virtual serial port (CDC) that is connected to a Universal Asynchronous ReceiverTransmitter (UART) on the

PIC16F18446 and provides an easy way to communicate with the target application through terminal softwarebull A Data Gateway Interface (DGI) for code instrumentation with logic analyzer channels (debug GPIO) to visualize

program flow

The on-board debugger controls a Power and Status LED (marked PS) on the PIC16F18446 Curiosity Nano BoardThe table below shows how the LED is controlled in different operation modes

Table 3-1 On-Board Debugger LED Control

Operation Mode Power and Status LED

Boot Loader mode The LED blinks slowly during power-up

Power-up The LED is ON

Normal operation The LED is ON

Programming Activity indicator The LED blinks slowly during programmingdebugging

Drag-and-dropprogramming Success The LED blinks slowly for 2 sec

Failure The LED blinks rapidly for 2 sec

Fault The LED blinks rapidly if a power fault is detected

SleepOff The LED is OFF The on-board debugger is either in a sleep mode or powered downThis can occur if the board is externally powered

Info  Slow blinking is approximately 1 Hz and rapid blinking is approximately 5 Hz

311 DebuggerThe on-board debugger on the PIC16F18446 Curiosity Nano Board appears as a Human Interface Device (HID) onthe host computerrsquos USB subsystem The debugger supports full-featured programming and debugging of thePIC16F18446 using MPLABreg X IDE

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 6

Remember  Keep the debuggerrsquos firmware up-to-date Firmware upgrades are done automatically whenusing MPLABreg X IDE

312 Virtual Serial Port (CDC)The virtual serial port (CDC) is a general purpose serial bridge between a host PC and a target device

3121 OverviewThe on-board debugger implements a composite USB device that includes a standard Communications Device Class(CDC) interface which appears on the host as a virtual serial port The CDC can be used to stream arbitrary data inboth directions between the host computer and the target All characters sent through the virtual serial port on thehost computer will be transmitted as UART on the debuggerrsquos CDC TX pin and UART characters captured on thedebuggerrsquos CDC RX pin will be returned to the host computer through the virtual serial port

Figure 3-1 CDC Connection

Target MCU

UART TX

UART RX

Debugger

USBCDC RX

CDC TX

PCTerminalSoftware

TargetReceive

TargetSend

TerminalReceive

TerminalSend

Info  As shown in Figure 3-1 the debuggerrsquos CDC TX pin is connected to a UART RX pin on the targetfor receiving characters from the host computer Similarly the debuggerrsquos CDC RX pin is connected to aUART TX pin on the target for transmitting characters to the host computer

3122 Operating System SupportOn Windows machines the CDC will enumerate as Curiosity Virtual COM Port and appear in the Ports section of theWindows Device Manager The COM port number can also be found there

Info  On older Windows systems a USB driver is required for CDC This driver is included in installationsof MPLABreg X IDE

On Linux machines the CDC will enumerate and appear as devttyACM

Info  tty devices belong to the ldquodialoutrdquo group in Linux so it may be necessary to become a member ofthat group to have permissions to access the CDC

On MAC machines the CDC will enumerate and appear as devttyusbmodem Depending on which terminalprogram is used it will appear in the available list of modems as usbmodem

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 7

Info  For all operating systems Be sure to use a terminal emulator that supports DTR signaling See 3124 Signaling

3123 LimitationsNot all UART features are implemented in the on-board debugger CDC The constraints are outlined here

bull Baud rate Must be in the range of 1200 bps to 500 kbps Any baud rate outside this range will be set to theclosest limit without warning Baud rate can be changed on-the-fly

bull Character format Only 8-bit characters are supportedbull Parity Can be odd even or nonebull Hardware flow control Not supportedbull Stop bits One or two bits are supported

3124 SignalingDuring USB enumeration the host OS will start both communication and data pipes of the CDC interface At thispoint it is possible to set and read back the baud rate and other UART parameters of the CDC but data sending andreceiving will not be enabled

When a terminal connects on the host it must assert the DTR signal As this is a virtual control signal implementedon the USB interface it is not physically present on the board Asserting the DTR signal from the host will indicate tothe on-board debugger that a CDC session is active The debugger will then enable its level shifters (if available) andstart the CDC data send and receive mechanisms

Deasserting the DTR signal will not disable the level shifters but disable the receiver so no further data will bestreamed to the host Data packets that are already queued up for sending to the target will continue to be sent outbut no further data will be accepted

Remember  Set up the terminal emulator to assert the DTR signal Without the signal the on-boarddebugger will not send or receive any data through its UART

Tip  The on-board debuggerrsquos CDC TX pin will not be driven until the CDC interface is enabled by thehost computer Also there are no external pull-up resistors on the CDC lines connecting the debugger andthe target which means that during power-up these lines are floating To avoid any glitches resulting inunpredictable behavior like framing errors the target device should enable the internal pull-up resistor onthe pin connected to the debuggerrsquos CDC TX pin

3125 Advanced Use

CDC Override ModeIn normal operation the on-board debugger is a true UART bridge between the host and the device However incertain use cases the on-board debugger can override the basic operating mode and use the CDC TX and RX pinsfor other purposes

Dropping a text file into the on-board debuggerrsquos mass storage drive can be used to send characters out of thedebuggerrsquos CDC TX pin The filename and extension are trivial but the text file must start with the charactersCMDSEND_UART=

The maximum message length is 50 characters ndash all remaining data in the frame are ignored

The default baud rate used in this mode is 9600 bps but if the CDC is already active or has been configured thepreviously used baud rate still applies

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 8

USB-Level Framing ConsiderationsSending data from the host to the CDC can be done byte-wise or in blocks which will be chunked into 64-byte USBframes Each such frame will be queued up for sending to the debuggerrsquos CDC TX pin Transferring a small amountof data per frame can be inefficient particularly at low baud rates because the on-board debugger buffers framesand not bytes A maximum of four 64-byte frames can be active at any time The on-board debugger will throttle theincoming frames accordingly Sending full 64-byte frames containing data is the most efficient method

When receiving data on the debuggerrsquos CDC RX pin the on-board debugger will queue up the incoming bytes into64-byte frames which are sent to the USB queue for transmission to the host when they are full Incomplete framesare also pushed to the USB queue at approximately 100 ms intervals triggered by USB start-of-frame tokens Up toeight 64-byte frames can be active at any time

If the host (or the software running on it) fails to receive data fast enough an overrun will occur When this happensthe last-filled buffer frame will be recycled instead of being sent to the USB queue and a full frame of data will belost To prevent this occurrence the user must ensure that the CDC data pipe is being read continuously or theincoming data rate must be reduced

313 Mass Storage DeviceThe on-board debugger includes a simple Mass Storage Device implementation which is accessible for readwriteoperations via the host operating system to which it is connected

It providesbull Read access to basic text and HTML files for detailed kit information and supportbull Write access for programming Intelreg HEX formatted files into the target devicersquos memorybull Write access for simple text files for utility purposes

3131 Mass Storage Device ImplementationThe on-board debugger implements a highly optimized variant of the FAT12 file system that has several limitationspartly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded application

The Curiosity Nano USB Device is USB Chapter 9-compliant as a mass storage device but does not in any wayfulfill the expectations of a general purpose mass storage device This behavior is intentional

When using the Windows operating system the on-board debugger enumerates as a Curiosity Nano USB Devicethat can be found in the disk drives section of the device manager The CURIOSITY drive appears in the file managerand claims the next available drive letter in the system

The CURIOSITY drive contains approximately one MB of free space This does not reflect the size of the targetdevicersquos Flash in any way When programming an Intelreg HEX file the binary data are encoded in ASCII withmetadata 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 filename may appear inthe disk directory listing This is merely the operating systemrsquos view of the directory which in reality has not beenupdated It is not possible to read out the file contents Removing and replugging the board will return the file systemto its original state but the target will still contain the application that has been previously programmed

To erase the target device copy a text file starting with ldquoCMDERASErdquo onto the disk

By default the CURIOSITY drive contains several read-only files for generating icons as well as reporting status andlinking to further information

bull AUTORUNICO ndash icon file for the Microchip logobull AUTORUNINF ndash system file required for Windows Explorer to show the icon filebull KIT-INFOHTM ndash redirect to the development board websitebull KIT-INFOTXT ndash a text file containing details about the boardrsquos debugger firmware version board name USB

serial number device and drag-and-drop supportbull STATUSTXT ndash a text file containing the programming status of the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 9

Info  STATUSTXT is dynamically updated by the on-board debugger The contents may be cached bythe OS and therefore do not reflect the correct status

3132 Configuration Words

Configuration Words (PICreg MCU Targets)Configuration Word settings included in the project being programmed after program Flash is programmed Thedebugger will not mask out any bits in the Configuration Words when writing them but since it uses Low-VoltageProgramming mode it is unable to clear the LVP Configuration bit If the incorrect clock source is selected forexample and the board does not boot it is always possible to perform a bulk erase (always done beforeprogramming) and restore the device to its default settings

3133 Special CommandsSeveral utility commands are supported by copying text files to the mass storage disk The filename or extension isirrelevant ndash the command handler reacts to content only

Table 3-2 Special File Commands

Command Content Description

CMDERASE Executes a chip erase of the target

CMDSEND_UART= Sends a string of characters to the CDC UART See ldquoCDC Override Moderdquo

CMDRESET Resets the target device by entering Programming mode and then exitingProgramming mode immediately thereafter Exact timing can vary according tothe programming interface of the target device (Debugger firmware v116 ornewer)

CMDPOWERTOGGLE Powers down the target and restores power after a 100 ms delay If externalpower is provided this has no effect (Debugger firmware v116 or newer)

CMD0V Powers down the target device by disabling the target supply regulator Ifexternal power is provided this has no effect (Debugger firmware v116 ornewer)

CMD3V3 Sets the target voltage to 33V If external power is provided this has no effect(Debugger firmware v116 or newer)

CMD5V0 Sets the target voltage to 50V If external power is provided this has no effect(Debugger firmware v116 or newer)

Info  The commands listed here are triggered by the content being sent to the mass storage emulateddisk and no feedback is provided in the case of either success or failure

314 Data Gateway Interface (DGI)Data Gateway Interface (DGI) is a USB interface for transporting raw and timestamped data between on-boarddebuggers and host computer-based visualization tools MPLAB Data Visualizer is used on the host computer todisplay debug GPIO data It is available as a plug-in for MPLABreg X IDE or a stand-alone application that can be usedin parallel with MPLABreg X IDE

Although DGI encompasses several physical data interfaces the PIC16F18446 Curiosity Nano implementationincludes logic analyzer channels

bull One debug GPIO channel (also known as DGI GPIO)

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 10

3141 Debug GPIODebug GPIO channels are timestamped digital signal lines connecting the target application to a host computervisualization application They are typically used to plot the occurrence of low-frequency events on a time-axis ndash forexample when certain application state transitions occur

The figure below shows the monitoring of the digital state of a mechanical switch connected to a debug GPIO inMPLAB Data VisualizerFigure 3-2 Monitoring Debug GPIO with MPLABreg Data Visualizer

Debug GPIO channels are timestamped so the resolution of DGI GPIO events is determined by the resolution of theDGI timestamp module

Important  Although bursts of higher-frequency signals can be captured the useful frequency range ofsignals for which debug GPIO can be used is up to about 2 kHz Attempting to capture signals above thisfrequency will result in data saturation and overflow which may cause the DGI session to be aborted

3142 TimestampingDGI sources are timestamped as they are captured by the debugger The timestamp counter implemented in theCuriosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond

32 Curiosity Nano Standard PinoutThe 12 edge connections closest to the USB connector on Curiosity Nano boards have a standardized pinout Theprogramdebug pins have different functions depending on the target programming interface as shown in the tableand figure below

Table 3-3 Curiosity Nano Standard Pinout

Debugger Signal Target MCU Description

ID mdash ID line for extensions

CDC TX UART RX USB CDC TX line

CDC RX UART TX USB CDC RX line

DBG0 ICSPDAT Debug data line

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 11

continuedDebugger Signal Target MCU Description

DBG1 ICSPCLK Debug clock line

DBG2 GPIO0 debug GPIO0

DBG3 MCLR Reset line

NC mdash No connect

VBUS mdash VBUS voltage for external use

VOFF mdash Voltage Off input Disables the target regulator andtarget voltage when pulled low

VTG mdash Target voltage

GND mdash Common ground

Figure 3-3 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

33 Power SupplyThe board is powered through the USB port and contains two LDO regulators one to generate 33V for the on-boarddebugger and an adjustable LDO regulator for the target microcontroller PIC16F18446 and its peripherals Thevoltage from the USB connector can vary between 44V to 525V (according to the USB specification) and will limitthe maximum voltage to the target The figure below shows the entire power supply system on PIC16F18446Curiosity Nano

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 12

Figure 3-4 Power Supply Block Diagram

USBTarget MCU

Power source

Cut strap

Power consumer P3V3DEBUGGER

Power converter

DEBUGGERRegulator

VUSB

TargetRegulator

Power Supply strap

Adjust

Level shifter

VLVLVREG

IO IO GPIOstraps

IO

OnOffMeasure OnOff

ID systemVOFF

PTC Fuse

Power protection

VBUS

Target Power strap

VTG

331 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO The on-board debugger can adjust the voltage outputsupplied to the board target section by manipulating the MIC5353rsquos feedback voltage The hardware implementationis limited to an approximate voltage range from 17V to 51V Additional output voltage limits are configured in thedebugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F18446microcontroller The voltage limits configured in the on-board debugger on PIC16F18446 Curiosity Nano are23-51V

Info  The target voltage is set to 33V when the board is manufactured It can be changed throughMPLAB X IDE project properties Any change to the target voltage is persistent even through a powertoggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program

Info  Voltage settings that are set up in MPLABreg X IDE are not immediately applied to the board Thenew voltage setting is applied to the board when the debugger is accessed in any way like pushing theRefresh Debug Tool Status button in the project dashboard tab or programmingreading program memory

Info  There is a simple option to adjust the target voltage with a drag and drop command text file to theboard This only supports settings of 00V 33V and 50V See section 3133 Special Commands forfurther details

The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small package placed on asmall printed circuit board (PCB) and the thermal shutdown condition can be reached at lower loads than 500 mAThe maximum current load depends on the input voltage the selected output voltage and the ambient temperatureThe figure below shows the safe operating area for the regulator with an input voltage of 51V and an ambienttemperature of 23degC

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 13

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 6: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

3 Curiosity NanoCuriosity Nano is an evaluation platform of small boards with access to most of the microcontrollers IOs Theplatform consists of a series of low pin count microcontroller (MCU) boards with on-board debuggers which areintegrated with MPLABreg X IDE Each board is identified in the IDE When plugged in a Kit Window is displayed withlinks to key documentation including relevant user guides application notes data sheets and example codeEverything is easy to find The on-board debugger features a virtual serial port (CDC) for serial communication to ahost PC and a Data Gateway Interface (DGI) with debug GPIO pin(s)

31 On-Board Debugger OverviewPIC16F18446 Curiosity Nano contains an on-board debugger for programming and debugging The on-boarddebugger is a composite USB device consisting of several interfaces

bull A debugger that can program and debug the PIC16F18446 in MPLABreg X IDEbull A mass storage device that allows drag-and-drop programming of the PIC16F18446bull A virtual serial port (CDC) that is connected to a Universal Asynchronous ReceiverTransmitter (UART) on the

PIC16F18446 and provides an easy way to communicate with the target application through terminal softwarebull A Data Gateway Interface (DGI) for code instrumentation with logic analyzer channels (debug GPIO) to visualize

program flow

The on-board debugger controls a Power and Status LED (marked PS) on the PIC16F18446 Curiosity Nano BoardThe table below shows how the LED is controlled in different operation modes

Table 3-1 On-Board Debugger LED Control

Operation Mode Power and Status LED

Boot Loader mode The LED blinks slowly during power-up

Power-up The LED is ON

Normal operation The LED is ON

Programming Activity indicator The LED blinks slowly during programmingdebugging

Drag-and-dropprogramming Success The LED blinks slowly for 2 sec

Failure The LED blinks rapidly for 2 sec

Fault The LED blinks rapidly if a power fault is detected

SleepOff The LED is OFF The on-board debugger is either in a sleep mode or powered downThis can occur if the board is externally powered

Info  Slow blinking is approximately 1 Hz and rapid blinking is approximately 5 Hz

311 DebuggerThe on-board debugger on the PIC16F18446 Curiosity Nano Board appears as a Human Interface Device (HID) onthe host computerrsquos USB subsystem The debugger supports full-featured programming and debugging of thePIC16F18446 using MPLABreg X IDE

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 6

Remember  Keep the debuggerrsquos firmware up-to-date Firmware upgrades are done automatically whenusing MPLABreg X IDE

312 Virtual Serial Port (CDC)The virtual serial port (CDC) is a general purpose serial bridge between a host PC and a target device

3121 OverviewThe on-board debugger implements a composite USB device that includes a standard Communications Device Class(CDC) interface which appears on the host as a virtual serial port The CDC can be used to stream arbitrary data inboth directions between the host computer and the target All characters sent through the virtual serial port on thehost computer will be transmitted as UART on the debuggerrsquos CDC TX pin and UART characters captured on thedebuggerrsquos CDC RX pin will be returned to the host computer through the virtual serial port

Figure 3-1 CDC Connection

Target MCU

UART TX

UART RX

Debugger

USBCDC RX

CDC TX

PCTerminalSoftware

TargetReceive

TargetSend

TerminalReceive

TerminalSend

Info  As shown in Figure 3-1 the debuggerrsquos CDC TX pin is connected to a UART RX pin on the targetfor receiving characters from the host computer Similarly the debuggerrsquos CDC RX pin is connected to aUART TX pin on the target for transmitting characters to the host computer

3122 Operating System SupportOn Windows machines the CDC will enumerate as Curiosity Virtual COM Port and appear in the Ports section of theWindows Device Manager The COM port number can also be found there

Info  On older Windows systems a USB driver is required for CDC This driver is included in installationsof MPLABreg X IDE

On Linux machines the CDC will enumerate and appear as devttyACM

Info  tty devices belong to the ldquodialoutrdquo group in Linux so it may be necessary to become a member ofthat group to have permissions to access the CDC

On MAC machines the CDC will enumerate and appear as devttyusbmodem Depending on which terminalprogram is used it will appear in the available list of modems as usbmodem

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 7

Info  For all operating systems Be sure to use a terminal emulator that supports DTR signaling See 3124 Signaling

3123 LimitationsNot all UART features are implemented in the on-board debugger CDC The constraints are outlined here

bull Baud rate Must be in the range of 1200 bps to 500 kbps Any baud rate outside this range will be set to theclosest limit without warning Baud rate can be changed on-the-fly

bull Character format Only 8-bit characters are supportedbull Parity Can be odd even or nonebull Hardware flow control Not supportedbull Stop bits One or two bits are supported

3124 SignalingDuring USB enumeration the host OS will start both communication and data pipes of the CDC interface At thispoint it is possible to set and read back the baud rate and other UART parameters of the CDC but data sending andreceiving will not be enabled

When a terminal connects on the host it must assert the DTR signal As this is a virtual control signal implementedon the USB interface it is not physically present on the board Asserting the DTR signal from the host will indicate tothe on-board debugger that a CDC session is active The debugger will then enable its level shifters (if available) andstart the CDC data send and receive mechanisms

Deasserting the DTR signal will not disable the level shifters but disable the receiver so no further data will bestreamed to the host Data packets that are already queued up for sending to the target will continue to be sent outbut no further data will be accepted

Remember  Set up the terminal emulator to assert the DTR signal Without the signal the on-boarddebugger will not send or receive any data through its UART

Tip  The on-board debuggerrsquos CDC TX pin will not be driven until the CDC interface is enabled by thehost computer Also there are no external pull-up resistors on the CDC lines connecting the debugger andthe target which means that during power-up these lines are floating To avoid any glitches resulting inunpredictable behavior like framing errors the target device should enable the internal pull-up resistor onthe pin connected to the debuggerrsquos CDC TX pin

3125 Advanced Use

CDC Override ModeIn normal operation the on-board debugger is a true UART bridge between the host and the device However incertain use cases the on-board debugger can override the basic operating mode and use the CDC TX and RX pinsfor other purposes

Dropping a text file into the on-board debuggerrsquos mass storage drive can be used to send characters out of thedebuggerrsquos CDC TX pin The filename and extension are trivial but the text file must start with the charactersCMDSEND_UART=

The maximum message length is 50 characters ndash all remaining data in the frame are ignored

The default baud rate used in this mode is 9600 bps but if the CDC is already active or has been configured thepreviously used baud rate still applies

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 8

USB-Level Framing ConsiderationsSending data from the host to the CDC can be done byte-wise or in blocks which will be chunked into 64-byte USBframes Each such frame will be queued up for sending to the debuggerrsquos CDC TX pin Transferring a small amountof data per frame can be inefficient particularly at low baud rates because the on-board debugger buffers framesand not bytes A maximum of four 64-byte frames can be active at any time The on-board debugger will throttle theincoming frames accordingly Sending full 64-byte frames containing data is the most efficient method

When receiving data on the debuggerrsquos CDC RX pin the on-board debugger will queue up the incoming bytes into64-byte frames which are sent to the USB queue for transmission to the host when they are full Incomplete framesare also pushed to the USB queue at approximately 100 ms intervals triggered by USB start-of-frame tokens Up toeight 64-byte frames can be active at any time

If the host (or the software running on it) fails to receive data fast enough an overrun will occur When this happensthe last-filled buffer frame will be recycled instead of being sent to the USB queue and a full frame of data will belost To prevent this occurrence the user must ensure that the CDC data pipe is being read continuously or theincoming data rate must be reduced

313 Mass Storage DeviceThe on-board debugger includes a simple Mass Storage Device implementation which is accessible for readwriteoperations via the host operating system to which it is connected

It providesbull Read access to basic text and HTML files for detailed kit information and supportbull Write access for programming Intelreg HEX formatted files into the target devicersquos memorybull Write access for simple text files for utility purposes

3131 Mass Storage Device ImplementationThe on-board debugger implements a highly optimized variant of the FAT12 file system that has several limitationspartly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded application

The Curiosity Nano USB Device is USB Chapter 9-compliant as a mass storage device but does not in any wayfulfill the expectations of a general purpose mass storage device This behavior is intentional

When using the Windows operating system the on-board debugger enumerates as a Curiosity Nano USB Devicethat can be found in the disk drives section of the device manager The CURIOSITY drive appears in the file managerand claims the next available drive letter in the system

The CURIOSITY drive contains approximately one MB of free space This does not reflect the size of the targetdevicersquos Flash in any way When programming an Intelreg HEX file the binary data are encoded in ASCII withmetadata 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 filename may appear inthe disk directory listing This is merely the operating systemrsquos view of the directory which in reality has not beenupdated It is not possible to read out the file contents Removing and replugging the board will return the file systemto its original state but the target will still contain the application that has been previously programmed

To erase the target device copy a text file starting with ldquoCMDERASErdquo onto the disk

By default the CURIOSITY drive contains several read-only files for generating icons as well as reporting status andlinking to further information

bull AUTORUNICO ndash icon file for the Microchip logobull AUTORUNINF ndash system file required for Windows Explorer to show the icon filebull KIT-INFOHTM ndash redirect to the development board websitebull KIT-INFOTXT ndash a text file containing details about the boardrsquos debugger firmware version board name USB

serial number device and drag-and-drop supportbull STATUSTXT ndash a text file containing the programming status of the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 9

Info  STATUSTXT is dynamically updated by the on-board debugger The contents may be cached bythe OS and therefore do not reflect the correct status

3132 Configuration Words

Configuration Words (PICreg MCU Targets)Configuration Word settings included in the project being programmed after program Flash is programmed Thedebugger will not mask out any bits in the Configuration Words when writing them but since it uses Low-VoltageProgramming mode it is unable to clear the LVP Configuration bit If the incorrect clock source is selected forexample and the board does not boot it is always possible to perform a bulk erase (always done beforeprogramming) and restore the device to its default settings

3133 Special CommandsSeveral utility commands are supported by copying text files to the mass storage disk The filename or extension isirrelevant ndash the command handler reacts to content only

Table 3-2 Special File Commands

Command Content Description

CMDERASE Executes a chip erase of the target

CMDSEND_UART= Sends a string of characters to the CDC UART See ldquoCDC Override Moderdquo

CMDRESET Resets the target device by entering Programming mode and then exitingProgramming mode immediately thereafter Exact timing can vary according tothe programming interface of the target device (Debugger firmware v116 ornewer)

CMDPOWERTOGGLE Powers down the target and restores power after a 100 ms delay If externalpower is provided this has no effect (Debugger firmware v116 or newer)

CMD0V Powers down the target device by disabling the target supply regulator Ifexternal power is provided this has no effect (Debugger firmware v116 ornewer)

CMD3V3 Sets the target voltage to 33V If external power is provided this has no effect(Debugger firmware v116 or newer)

CMD5V0 Sets the target voltage to 50V If external power is provided this has no effect(Debugger firmware v116 or newer)

Info  The commands listed here are triggered by the content being sent to the mass storage emulateddisk and no feedback is provided in the case of either success or failure

314 Data Gateway Interface (DGI)Data Gateway Interface (DGI) is a USB interface for transporting raw and timestamped data between on-boarddebuggers and host computer-based visualization tools MPLAB Data Visualizer is used on the host computer todisplay debug GPIO data It is available as a plug-in for MPLABreg X IDE or a stand-alone application that can be usedin parallel with MPLABreg X IDE

Although DGI encompasses several physical data interfaces the PIC16F18446 Curiosity Nano implementationincludes logic analyzer channels

bull One debug GPIO channel (also known as DGI GPIO)

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 10

3141 Debug GPIODebug GPIO channels are timestamped digital signal lines connecting the target application to a host computervisualization application They are typically used to plot the occurrence of low-frequency events on a time-axis ndash forexample when certain application state transitions occur

The figure below shows the monitoring of the digital state of a mechanical switch connected to a debug GPIO inMPLAB Data VisualizerFigure 3-2 Monitoring Debug GPIO with MPLABreg Data Visualizer

Debug GPIO channels are timestamped so the resolution of DGI GPIO events is determined by the resolution of theDGI timestamp module

Important  Although bursts of higher-frequency signals can be captured the useful frequency range ofsignals for which debug GPIO can be used is up to about 2 kHz Attempting to capture signals above thisfrequency will result in data saturation and overflow which may cause the DGI session to be aborted

3142 TimestampingDGI sources are timestamped as they are captured by the debugger The timestamp counter implemented in theCuriosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond

32 Curiosity Nano Standard PinoutThe 12 edge connections closest to the USB connector on Curiosity Nano boards have a standardized pinout Theprogramdebug pins have different functions depending on the target programming interface as shown in the tableand figure below

Table 3-3 Curiosity Nano Standard Pinout

Debugger Signal Target MCU Description

ID mdash ID line for extensions

CDC TX UART RX USB CDC TX line

CDC RX UART TX USB CDC RX line

DBG0 ICSPDAT Debug data line

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 11

continuedDebugger Signal Target MCU Description

DBG1 ICSPCLK Debug clock line

DBG2 GPIO0 debug GPIO0

DBG3 MCLR Reset line

NC mdash No connect

VBUS mdash VBUS voltage for external use

VOFF mdash Voltage Off input Disables the target regulator andtarget voltage when pulled low

VTG mdash Target voltage

GND mdash Common ground

Figure 3-3 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

33 Power SupplyThe board is powered through the USB port and contains two LDO regulators one to generate 33V for the on-boarddebugger and an adjustable LDO regulator for the target microcontroller PIC16F18446 and its peripherals Thevoltage from the USB connector can vary between 44V to 525V (according to the USB specification) and will limitthe maximum voltage to the target The figure below shows the entire power supply system on PIC16F18446Curiosity Nano

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 12

Figure 3-4 Power Supply Block Diagram

USBTarget MCU

Power source

Cut strap

Power consumer P3V3DEBUGGER

Power converter

DEBUGGERRegulator

VUSB

TargetRegulator

Power Supply strap

Adjust

Level shifter

VLVLVREG

IO IO GPIOstraps

IO

OnOffMeasure OnOff

ID systemVOFF

PTC Fuse

Power protection

VBUS

Target Power strap

VTG

331 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO The on-board debugger can adjust the voltage outputsupplied to the board target section by manipulating the MIC5353rsquos feedback voltage The hardware implementationis limited to an approximate voltage range from 17V to 51V Additional output voltage limits are configured in thedebugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F18446microcontroller The voltage limits configured in the on-board debugger on PIC16F18446 Curiosity Nano are23-51V

Info  The target voltage is set to 33V when the board is manufactured It can be changed throughMPLAB X IDE project properties Any change to the target voltage is persistent even through a powertoggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program

Info  Voltage settings that are set up in MPLABreg X IDE are not immediately applied to the board Thenew voltage setting is applied to the board when the debugger is accessed in any way like pushing theRefresh Debug Tool Status button in the project dashboard tab or programmingreading program memory

Info  There is a simple option to adjust the target voltage with a drag and drop command text file to theboard This only supports settings of 00V 33V and 50V See section 3133 Special Commands forfurther details

The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small package placed on asmall printed circuit board (PCB) and the thermal shutdown condition can be reached at lower loads than 500 mAThe maximum current load depends on the input voltage the selected output voltage and the ambient temperatureThe figure below shows the safe operating area for the regulator with an input voltage of 51V and an ambienttemperature of 23degC

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 13

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 7: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Remember  Keep the debuggerrsquos firmware up-to-date Firmware upgrades are done automatically whenusing MPLABreg X IDE

312 Virtual Serial Port (CDC)The virtual serial port (CDC) is a general purpose serial bridge between a host PC and a target device

3121 OverviewThe on-board debugger implements a composite USB device that includes a standard Communications Device Class(CDC) interface which appears on the host as a virtual serial port The CDC can be used to stream arbitrary data inboth directions between the host computer and the target All characters sent through the virtual serial port on thehost computer will be transmitted as UART on the debuggerrsquos CDC TX pin and UART characters captured on thedebuggerrsquos CDC RX pin will be returned to the host computer through the virtual serial port

Figure 3-1 CDC Connection

Target MCU

UART TX

UART RX

Debugger

USBCDC RX

CDC TX

PCTerminalSoftware

TargetReceive

TargetSend

TerminalReceive

TerminalSend

Info  As shown in Figure 3-1 the debuggerrsquos CDC TX pin is connected to a UART RX pin on the targetfor receiving characters from the host computer Similarly the debuggerrsquos CDC RX pin is connected to aUART TX pin on the target for transmitting characters to the host computer

3122 Operating System SupportOn Windows machines the CDC will enumerate as Curiosity Virtual COM Port and appear in the Ports section of theWindows Device Manager The COM port number can also be found there

Info  On older Windows systems a USB driver is required for CDC This driver is included in installationsof MPLABreg X IDE

On Linux machines the CDC will enumerate and appear as devttyACM

Info  tty devices belong to the ldquodialoutrdquo group in Linux so it may be necessary to become a member ofthat group to have permissions to access the CDC

On MAC machines the CDC will enumerate and appear as devttyusbmodem Depending on which terminalprogram is used it will appear in the available list of modems as usbmodem

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 7

Info  For all operating systems Be sure to use a terminal emulator that supports DTR signaling See 3124 Signaling

3123 LimitationsNot all UART features are implemented in the on-board debugger CDC The constraints are outlined here

bull Baud rate Must be in the range of 1200 bps to 500 kbps Any baud rate outside this range will be set to theclosest limit without warning Baud rate can be changed on-the-fly

bull Character format Only 8-bit characters are supportedbull Parity Can be odd even or nonebull Hardware flow control Not supportedbull Stop bits One or two bits are supported

3124 SignalingDuring USB enumeration the host OS will start both communication and data pipes of the CDC interface At thispoint it is possible to set and read back the baud rate and other UART parameters of the CDC but data sending andreceiving will not be enabled

When a terminal connects on the host it must assert the DTR signal As this is a virtual control signal implementedon the USB interface it is not physically present on the board Asserting the DTR signal from the host will indicate tothe on-board debugger that a CDC session is active The debugger will then enable its level shifters (if available) andstart the CDC data send and receive mechanisms

Deasserting the DTR signal will not disable the level shifters but disable the receiver so no further data will bestreamed to the host Data packets that are already queued up for sending to the target will continue to be sent outbut no further data will be accepted

Remember  Set up the terminal emulator to assert the DTR signal Without the signal the on-boarddebugger will not send or receive any data through its UART

Tip  The on-board debuggerrsquos CDC TX pin will not be driven until the CDC interface is enabled by thehost computer Also there are no external pull-up resistors on the CDC lines connecting the debugger andthe target which means that during power-up these lines are floating To avoid any glitches resulting inunpredictable behavior like framing errors the target device should enable the internal pull-up resistor onthe pin connected to the debuggerrsquos CDC TX pin

3125 Advanced Use

CDC Override ModeIn normal operation the on-board debugger is a true UART bridge between the host and the device However incertain use cases the on-board debugger can override the basic operating mode and use the CDC TX and RX pinsfor other purposes

Dropping a text file into the on-board debuggerrsquos mass storage drive can be used to send characters out of thedebuggerrsquos CDC TX pin The filename and extension are trivial but the text file must start with the charactersCMDSEND_UART=

The maximum message length is 50 characters ndash all remaining data in the frame are ignored

The default baud rate used in this mode is 9600 bps but if the CDC is already active or has been configured thepreviously used baud rate still applies

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 8

USB-Level Framing ConsiderationsSending data from the host to the CDC can be done byte-wise or in blocks which will be chunked into 64-byte USBframes Each such frame will be queued up for sending to the debuggerrsquos CDC TX pin Transferring a small amountof data per frame can be inefficient particularly at low baud rates because the on-board debugger buffers framesand not bytes A maximum of four 64-byte frames can be active at any time The on-board debugger will throttle theincoming frames accordingly Sending full 64-byte frames containing data is the most efficient method

When receiving data on the debuggerrsquos CDC RX pin the on-board debugger will queue up the incoming bytes into64-byte frames which are sent to the USB queue for transmission to the host when they are full Incomplete framesare also pushed to the USB queue at approximately 100 ms intervals triggered by USB start-of-frame tokens Up toeight 64-byte frames can be active at any time

If the host (or the software running on it) fails to receive data fast enough an overrun will occur When this happensthe last-filled buffer frame will be recycled instead of being sent to the USB queue and a full frame of data will belost To prevent this occurrence the user must ensure that the CDC data pipe is being read continuously or theincoming data rate must be reduced

313 Mass Storage DeviceThe on-board debugger includes a simple Mass Storage Device implementation which is accessible for readwriteoperations via the host operating system to which it is connected

It providesbull Read access to basic text and HTML files for detailed kit information and supportbull Write access for programming Intelreg HEX formatted files into the target devicersquos memorybull Write access for simple text files for utility purposes

3131 Mass Storage Device ImplementationThe on-board debugger implements a highly optimized variant of the FAT12 file system that has several limitationspartly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded application

The Curiosity Nano USB Device is USB Chapter 9-compliant as a mass storage device but does not in any wayfulfill the expectations of a general purpose mass storage device This behavior is intentional

When using the Windows operating system the on-board debugger enumerates as a Curiosity Nano USB Devicethat can be found in the disk drives section of the device manager The CURIOSITY drive appears in the file managerand claims the next available drive letter in the system

The CURIOSITY drive contains approximately one MB of free space This does not reflect the size of the targetdevicersquos Flash in any way When programming an Intelreg HEX file the binary data are encoded in ASCII withmetadata 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 filename may appear inthe disk directory listing This is merely the operating systemrsquos view of the directory which in reality has not beenupdated It is not possible to read out the file contents Removing and replugging the board will return the file systemto its original state but the target will still contain the application that has been previously programmed

To erase the target device copy a text file starting with ldquoCMDERASErdquo onto the disk

By default the CURIOSITY drive contains several read-only files for generating icons as well as reporting status andlinking to further information

bull AUTORUNICO ndash icon file for the Microchip logobull AUTORUNINF ndash system file required for Windows Explorer to show the icon filebull KIT-INFOHTM ndash redirect to the development board websitebull KIT-INFOTXT ndash a text file containing details about the boardrsquos debugger firmware version board name USB

serial number device and drag-and-drop supportbull STATUSTXT ndash a text file containing the programming status of the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 9

Info  STATUSTXT is dynamically updated by the on-board debugger The contents may be cached bythe OS and therefore do not reflect the correct status

3132 Configuration Words

Configuration Words (PICreg MCU Targets)Configuration Word settings included in the project being programmed after program Flash is programmed Thedebugger will not mask out any bits in the Configuration Words when writing them but since it uses Low-VoltageProgramming mode it is unable to clear the LVP Configuration bit If the incorrect clock source is selected forexample and the board does not boot it is always possible to perform a bulk erase (always done beforeprogramming) and restore the device to its default settings

3133 Special CommandsSeveral utility commands are supported by copying text files to the mass storage disk The filename or extension isirrelevant ndash the command handler reacts to content only

Table 3-2 Special File Commands

Command Content Description

CMDERASE Executes a chip erase of the target

CMDSEND_UART= Sends a string of characters to the CDC UART See ldquoCDC Override Moderdquo

CMDRESET Resets the target device by entering Programming mode and then exitingProgramming mode immediately thereafter Exact timing can vary according tothe programming interface of the target device (Debugger firmware v116 ornewer)

CMDPOWERTOGGLE Powers down the target and restores power after a 100 ms delay If externalpower is provided this has no effect (Debugger firmware v116 or newer)

CMD0V Powers down the target device by disabling the target supply regulator Ifexternal power is provided this has no effect (Debugger firmware v116 ornewer)

CMD3V3 Sets the target voltage to 33V If external power is provided this has no effect(Debugger firmware v116 or newer)

CMD5V0 Sets the target voltage to 50V If external power is provided this has no effect(Debugger firmware v116 or newer)

Info  The commands listed here are triggered by the content being sent to the mass storage emulateddisk and no feedback is provided in the case of either success or failure

314 Data Gateway Interface (DGI)Data Gateway Interface (DGI) is a USB interface for transporting raw and timestamped data between on-boarddebuggers and host computer-based visualization tools MPLAB Data Visualizer is used on the host computer todisplay debug GPIO data It is available as a plug-in for MPLABreg X IDE or a stand-alone application that can be usedin parallel with MPLABreg X IDE

Although DGI encompasses several physical data interfaces the PIC16F18446 Curiosity Nano implementationincludes logic analyzer channels

bull One debug GPIO channel (also known as DGI GPIO)

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 10

3141 Debug GPIODebug GPIO channels are timestamped digital signal lines connecting the target application to a host computervisualization application They are typically used to plot the occurrence of low-frequency events on a time-axis ndash forexample when certain application state transitions occur

The figure below shows the monitoring of the digital state of a mechanical switch connected to a debug GPIO inMPLAB Data VisualizerFigure 3-2 Monitoring Debug GPIO with MPLABreg Data Visualizer

Debug GPIO channels are timestamped so the resolution of DGI GPIO events is determined by the resolution of theDGI timestamp module

Important  Although bursts of higher-frequency signals can be captured the useful frequency range ofsignals for which debug GPIO can be used is up to about 2 kHz Attempting to capture signals above thisfrequency will result in data saturation and overflow which may cause the DGI session to be aborted

3142 TimestampingDGI sources are timestamped as they are captured by the debugger The timestamp counter implemented in theCuriosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond

32 Curiosity Nano Standard PinoutThe 12 edge connections closest to the USB connector on Curiosity Nano boards have a standardized pinout Theprogramdebug pins have different functions depending on the target programming interface as shown in the tableand figure below

Table 3-3 Curiosity Nano Standard Pinout

Debugger Signal Target MCU Description

ID mdash ID line for extensions

CDC TX UART RX USB CDC TX line

CDC RX UART TX USB CDC RX line

DBG0 ICSPDAT Debug data line

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 11

continuedDebugger Signal Target MCU Description

DBG1 ICSPCLK Debug clock line

DBG2 GPIO0 debug GPIO0

DBG3 MCLR Reset line

NC mdash No connect

VBUS mdash VBUS voltage for external use

VOFF mdash Voltage Off input Disables the target regulator andtarget voltage when pulled low

VTG mdash Target voltage

GND mdash Common ground

Figure 3-3 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

33 Power SupplyThe board is powered through the USB port and contains two LDO regulators one to generate 33V for the on-boarddebugger and an adjustable LDO regulator for the target microcontroller PIC16F18446 and its peripherals Thevoltage from the USB connector can vary between 44V to 525V (according to the USB specification) and will limitthe maximum voltage to the target The figure below shows the entire power supply system on PIC16F18446Curiosity Nano

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 12

Figure 3-4 Power Supply Block Diagram

USBTarget MCU

Power source

Cut strap

Power consumer P3V3DEBUGGER

Power converter

DEBUGGERRegulator

VUSB

TargetRegulator

Power Supply strap

Adjust

Level shifter

VLVLVREG

IO IO GPIOstraps

IO

OnOffMeasure OnOff

ID systemVOFF

PTC Fuse

Power protection

VBUS

Target Power strap

VTG

331 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO The on-board debugger can adjust the voltage outputsupplied to the board target section by manipulating the MIC5353rsquos feedback voltage The hardware implementationis limited to an approximate voltage range from 17V to 51V Additional output voltage limits are configured in thedebugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F18446microcontroller The voltage limits configured in the on-board debugger on PIC16F18446 Curiosity Nano are23-51V

Info  The target voltage is set to 33V when the board is manufactured It can be changed throughMPLAB X IDE project properties Any change to the target voltage is persistent even through a powertoggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program

Info  Voltage settings that are set up in MPLABreg X IDE are not immediately applied to the board Thenew voltage setting is applied to the board when the debugger is accessed in any way like pushing theRefresh Debug Tool Status button in the project dashboard tab or programmingreading program memory

Info  There is a simple option to adjust the target voltage with a drag and drop command text file to theboard This only supports settings of 00V 33V and 50V See section 3133 Special Commands forfurther details

The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small package placed on asmall printed circuit board (PCB) and the thermal shutdown condition can be reached at lower loads than 500 mAThe maximum current load depends on the input voltage the selected output voltage and the ambient temperatureThe figure below shows the safe operating area for the regulator with an input voltage of 51V and an ambienttemperature of 23degC

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 13

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 8: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Info  For all operating systems Be sure to use a terminal emulator that supports DTR signaling See 3124 Signaling

3123 LimitationsNot all UART features are implemented in the on-board debugger CDC The constraints are outlined here

bull Baud rate Must be in the range of 1200 bps to 500 kbps Any baud rate outside this range will be set to theclosest limit without warning Baud rate can be changed on-the-fly

bull Character format Only 8-bit characters are supportedbull Parity Can be odd even or nonebull Hardware flow control Not supportedbull Stop bits One or two bits are supported

3124 SignalingDuring USB enumeration the host OS will start both communication and data pipes of the CDC interface At thispoint it is possible to set and read back the baud rate and other UART parameters of the CDC but data sending andreceiving will not be enabled

When a terminal connects on the host it must assert the DTR signal As this is a virtual control signal implementedon the USB interface it is not physically present on the board Asserting the DTR signal from the host will indicate tothe on-board debugger that a CDC session is active The debugger will then enable its level shifters (if available) andstart the CDC data send and receive mechanisms

Deasserting the DTR signal will not disable the level shifters but disable the receiver so no further data will bestreamed to the host Data packets that are already queued up for sending to the target will continue to be sent outbut no further data will be accepted

Remember  Set up the terminal emulator to assert the DTR signal Without the signal the on-boarddebugger will not send or receive any data through its UART

Tip  The on-board debuggerrsquos CDC TX pin will not be driven until the CDC interface is enabled by thehost computer Also there are no external pull-up resistors on the CDC lines connecting the debugger andthe target which means that during power-up these lines are floating To avoid any glitches resulting inunpredictable behavior like framing errors the target device should enable the internal pull-up resistor onthe pin connected to the debuggerrsquos CDC TX pin

3125 Advanced Use

CDC Override ModeIn normal operation the on-board debugger is a true UART bridge between the host and the device However incertain use cases the on-board debugger can override the basic operating mode and use the CDC TX and RX pinsfor other purposes

Dropping a text file into the on-board debuggerrsquos mass storage drive can be used to send characters out of thedebuggerrsquos CDC TX pin The filename and extension are trivial but the text file must start with the charactersCMDSEND_UART=

The maximum message length is 50 characters ndash all remaining data in the frame are ignored

The default baud rate used in this mode is 9600 bps but if the CDC is already active or has been configured thepreviously used baud rate still applies

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 8

USB-Level Framing ConsiderationsSending data from the host to the CDC can be done byte-wise or in blocks which will be chunked into 64-byte USBframes Each such frame will be queued up for sending to the debuggerrsquos CDC TX pin Transferring a small amountof data per frame can be inefficient particularly at low baud rates because the on-board debugger buffers framesand not bytes A maximum of four 64-byte frames can be active at any time The on-board debugger will throttle theincoming frames accordingly Sending full 64-byte frames containing data is the most efficient method

When receiving data on the debuggerrsquos CDC RX pin the on-board debugger will queue up the incoming bytes into64-byte frames which are sent to the USB queue for transmission to the host when they are full Incomplete framesare also pushed to the USB queue at approximately 100 ms intervals triggered by USB start-of-frame tokens Up toeight 64-byte frames can be active at any time

If the host (or the software running on it) fails to receive data fast enough an overrun will occur When this happensthe last-filled buffer frame will be recycled instead of being sent to the USB queue and a full frame of data will belost To prevent this occurrence the user must ensure that the CDC data pipe is being read continuously or theincoming data rate must be reduced

313 Mass Storage DeviceThe on-board debugger includes a simple Mass Storage Device implementation which is accessible for readwriteoperations via the host operating system to which it is connected

It providesbull Read access to basic text and HTML files for detailed kit information and supportbull Write access for programming Intelreg HEX formatted files into the target devicersquos memorybull Write access for simple text files for utility purposes

3131 Mass Storage Device ImplementationThe on-board debugger implements a highly optimized variant of the FAT12 file system that has several limitationspartly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded application

The Curiosity Nano USB Device is USB Chapter 9-compliant as a mass storage device but does not in any wayfulfill the expectations of a general purpose mass storage device This behavior is intentional

When using the Windows operating system the on-board debugger enumerates as a Curiosity Nano USB Devicethat can be found in the disk drives section of the device manager The CURIOSITY drive appears in the file managerand claims the next available drive letter in the system

The CURIOSITY drive contains approximately one MB of free space This does not reflect the size of the targetdevicersquos Flash in any way When programming an Intelreg HEX file the binary data are encoded in ASCII withmetadata 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 filename may appear inthe disk directory listing This is merely the operating systemrsquos view of the directory which in reality has not beenupdated It is not possible to read out the file contents Removing and replugging the board will return the file systemto its original state but the target will still contain the application that has been previously programmed

To erase the target device copy a text file starting with ldquoCMDERASErdquo onto the disk

By default the CURIOSITY drive contains several read-only files for generating icons as well as reporting status andlinking to further information

bull AUTORUNICO ndash icon file for the Microchip logobull AUTORUNINF ndash system file required for Windows Explorer to show the icon filebull KIT-INFOHTM ndash redirect to the development board websitebull KIT-INFOTXT ndash a text file containing details about the boardrsquos debugger firmware version board name USB

serial number device and drag-and-drop supportbull STATUSTXT ndash a text file containing the programming status of the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 9

Info  STATUSTXT is dynamically updated by the on-board debugger The contents may be cached bythe OS and therefore do not reflect the correct status

3132 Configuration Words

Configuration Words (PICreg MCU Targets)Configuration Word settings included in the project being programmed after program Flash is programmed Thedebugger will not mask out any bits in the Configuration Words when writing them but since it uses Low-VoltageProgramming mode it is unable to clear the LVP Configuration bit If the incorrect clock source is selected forexample and the board does not boot it is always possible to perform a bulk erase (always done beforeprogramming) and restore the device to its default settings

3133 Special CommandsSeveral utility commands are supported by copying text files to the mass storage disk The filename or extension isirrelevant ndash the command handler reacts to content only

Table 3-2 Special File Commands

Command Content Description

CMDERASE Executes a chip erase of the target

CMDSEND_UART= Sends a string of characters to the CDC UART See ldquoCDC Override Moderdquo

CMDRESET Resets the target device by entering Programming mode and then exitingProgramming mode immediately thereafter Exact timing can vary according tothe programming interface of the target device (Debugger firmware v116 ornewer)

CMDPOWERTOGGLE Powers down the target and restores power after a 100 ms delay If externalpower is provided this has no effect (Debugger firmware v116 or newer)

CMD0V Powers down the target device by disabling the target supply regulator Ifexternal power is provided this has no effect (Debugger firmware v116 ornewer)

CMD3V3 Sets the target voltage to 33V If external power is provided this has no effect(Debugger firmware v116 or newer)

CMD5V0 Sets the target voltage to 50V If external power is provided this has no effect(Debugger firmware v116 or newer)

Info  The commands listed here are triggered by the content being sent to the mass storage emulateddisk and no feedback is provided in the case of either success or failure

314 Data Gateway Interface (DGI)Data Gateway Interface (DGI) is a USB interface for transporting raw and timestamped data between on-boarddebuggers and host computer-based visualization tools MPLAB Data Visualizer is used on the host computer todisplay debug GPIO data It is available as a plug-in for MPLABreg X IDE or a stand-alone application that can be usedin parallel with MPLABreg X IDE

Although DGI encompasses several physical data interfaces the PIC16F18446 Curiosity Nano implementationincludes logic analyzer channels

bull One debug GPIO channel (also known as DGI GPIO)

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 10

3141 Debug GPIODebug GPIO channels are timestamped digital signal lines connecting the target application to a host computervisualization application They are typically used to plot the occurrence of low-frequency events on a time-axis ndash forexample when certain application state transitions occur

The figure below shows the monitoring of the digital state of a mechanical switch connected to a debug GPIO inMPLAB Data VisualizerFigure 3-2 Monitoring Debug GPIO with MPLABreg Data Visualizer

Debug GPIO channels are timestamped so the resolution of DGI GPIO events is determined by the resolution of theDGI timestamp module

Important  Although bursts of higher-frequency signals can be captured the useful frequency range ofsignals for which debug GPIO can be used is up to about 2 kHz Attempting to capture signals above thisfrequency will result in data saturation and overflow which may cause the DGI session to be aborted

3142 TimestampingDGI sources are timestamped as they are captured by the debugger The timestamp counter implemented in theCuriosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond

32 Curiosity Nano Standard PinoutThe 12 edge connections closest to the USB connector on Curiosity Nano boards have a standardized pinout Theprogramdebug pins have different functions depending on the target programming interface as shown in the tableand figure below

Table 3-3 Curiosity Nano Standard Pinout

Debugger Signal Target MCU Description

ID mdash ID line for extensions

CDC TX UART RX USB CDC TX line

CDC RX UART TX USB CDC RX line

DBG0 ICSPDAT Debug data line

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 11

continuedDebugger Signal Target MCU Description

DBG1 ICSPCLK Debug clock line

DBG2 GPIO0 debug GPIO0

DBG3 MCLR Reset line

NC mdash No connect

VBUS mdash VBUS voltage for external use

VOFF mdash Voltage Off input Disables the target regulator andtarget voltage when pulled low

VTG mdash Target voltage

GND mdash Common ground

Figure 3-3 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

33 Power SupplyThe board is powered through the USB port and contains two LDO regulators one to generate 33V for the on-boarddebugger and an adjustable LDO regulator for the target microcontroller PIC16F18446 and its peripherals Thevoltage from the USB connector can vary between 44V to 525V (according to the USB specification) and will limitthe maximum voltage to the target The figure below shows the entire power supply system on PIC16F18446Curiosity Nano

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 12

Figure 3-4 Power Supply Block Diagram

USBTarget MCU

Power source

Cut strap

Power consumer P3V3DEBUGGER

Power converter

DEBUGGERRegulator

VUSB

TargetRegulator

Power Supply strap

Adjust

Level shifter

VLVLVREG

IO IO GPIOstraps

IO

OnOffMeasure OnOff

ID systemVOFF

PTC Fuse

Power protection

VBUS

Target Power strap

VTG

331 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO The on-board debugger can adjust the voltage outputsupplied to the board target section by manipulating the MIC5353rsquos feedback voltage The hardware implementationis limited to an approximate voltage range from 17V to 51V Additional output voltage limits are configured in thedebugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F18446microcontroller The voltage limits configured in the on-board debugger on PIC16F18446 Curiosity Nano are23-51V

Info  The target voltage is set to 33V when the board is manufactured It can be changed throughMPLAB X IDE project properties Any change to the target voltage is persistent even through a powertoggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program

Info  Voltage settings that are set up in MPLABreg X IDE are not immediately applied to the board Thenew voltage setting is applied to the board when the debugger is accessed in any way like pushing theRefresh Debug Tool Status button in the project dashboard tab or programmingreading program memory

Info  There is a simple option to adjust the target voltage with a drag and drop command text file to theboard This only supports settings of 00V 33V and 50V See section 3133 Special Commands forfurther details

The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small package placed on asmall printed circuit board (PCB) and the thermal shutdown condition can be reached at lower loads than 500 mAThe maximum current load depends on the input voltage the selected output voltage and the ambient temperatureThe figure below shows the safe operating area for the regulator with an input voltage of 51V and an ambienttemperature of 23degC

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 13

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 9: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

USB-Level Framing ConsiderationsSending data from the host to the CDC can be done byte-wise or in blocks which will be chunked into 64-byte USBframes Each such frame will be queued up for sending to the debuggerrsquos CDC TX pin Transferring a small amountof data per frame can be inefficient particularly at low baud rates because the on-board debugger buffers framesand not bytes A maximum of four 64-byte frames can be active at any time The on-board debugger will throttle theincoming frames accordingly Sending full 64-byte frames containing data is the most efficient method

When receiving data on the debuggerrsquos CDC RX pin the on-board debugger will queue up the incoming bytes into64-byte frames which are sent to the USB queue for transmission to the host when they are full Incomplete framesare also pushed to the USB queue at approximately 100 ms intervals triggered by USB start-of-frame tokens Up toeight 64-byte frames can be active at any time

If the host (or the software running on it) fails to receive data fast enough an overrun will occur When this happensthe last-filled buffer frame will be recycled instead of being sent to the USB queue and a full frame of data will belost To prevent this occurrence the user must ensure that the CDC data pipe is being read continuously or theincoming data rate must be reduced

313 Mass Storage DeviceThe on-board debugger includes a simple Mass Storage Device implementation which is accessible for readwriteoperations via the host operating system to which it is connected

It providesbull Read access to basic text and HTML files for detailed kit information and supportbull Write access for programming Intelreg HEX formatted files into the target devicersquos memorybull Write access for simple text files for utility purposes

3131 Mass Storage Device ImplementationThe on-board debugger implements a highly optimized variant of the FAT12 file system that has several limitationspartly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded application

The Curiosity Nano USB Device is USB Chapter 9-compliant as a mass storage device but does not in any wayfulfill the expectations of a general purpose mass storage device This behavior is intentional

When using the Windows operating system the on-board debugger enumerates as a Curiosity Nano USB Devicethat can be found in the disk drives section of the device manager The CURIOSITY drive appears in the file managerand claims the next available drive letter in the system

The CURIOSITY drive contains approximately one MB of free space This does not reflect the size of the targetdevicersquos Flash in any way When programming an Intelreg HEX file the binary data are encoded in ASCII withmetadata 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 filename may appear inthe disk directory listing This is merely the operating systemrsquos view of the directory which in reality has not beenupdated It is not possible to read out the file contents Removing and replugging the board will return the file systemto its original state but the target will still contain the application that has been previously programmed

To erase the target device copy a text file starting with ldquoCMDERASErdquo onto the disk

By default the CURIOSITY drive contains several read-only files for generating icons as well as reporting status andlinking to further information

bull AUTORUNICO ndash icon file for the Microchip logobull AUTORUNINF ndash system file required for Windows Explorer to show the icon filebull KIT-INFOHTM ndash redirect to the development board websitebull KIT-INFOTXT ndash a text file containing details about the boardrsquos debugger firmware version board name USB

serial number device and drag-and-drop supportbull STATUSTXT ndash a text file containing the programming status of the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 9

Info  STATUSTXT is dynamically updated by the on-board debugger The contents may be cached bythe OS and therefore do not reflect the correct status

3132 Configuration Words

Configuration Words (PICreg MCU Targets)Configuration Word settings included in the project being programmed after program Flash is programmed Thedebugger will not mask out any bits in the Configuration Words when writing them but since it uses Low-VoltageProgramming mode it is unable to clear the LVP Configuration bit If the incorrect clock source is selected forexample and the board does not boot it is always possible to perform a bulk erase (always done beforeprogramming) and restore the device to its default settings

3133 Special CommandsSeveral utility commands are supported by copying text files to the mass storage disk The filename or extension isirrelevant ndash the command handler reacts to content only

Table 3-2 Special File Commands

Command Content Description

CMDERASE Executes a chip erase of the target

CMDSEND_UART= Sends a string of characters to the CDC UART See ldquoCDC Override Moderdquo

CMDRESET Resets the target device by entering Programming mode and then exitingProgramming mode immediately thereafter Exact timing can vary according tothe programming interface of the target device (Debugger firmware v116 ornewer)

CMDPOWERTOGGLE Powers down the target and restores power after a 100 ms delay If externalpower is provided this has no effect (Debugger firmware v116 or newer)

CMD0V Powers down the target device by disabling the target supply regulator Ifexternal power is provided this has no effect (Debugger firmware v116 ornewer)

CMD3V3 Sets the target voltage to 33V If external power is provided this has no effect(Debugger firmware v116 or newer)

CMD5V0 Sets the target voltage to 50V If external power is provided this has no effect(Debugger firmware v116 or newer)

Info  The commands listed here are triggered by the content being sent to the mass storage emulateddisk and no feedback is provided in the case of either success or failure

314 Data Gateway Interface (DGI)Data Gateway Interface (DGI) is a USB interface for transporting raw and timestamped data between on-boarddebuggers and host computer-based visualization tools MPLAB Data Visualizer is used on the host computer todisplay debug GPIO data It is available as a plug-in for MPLABreg X IDE or a stand-alone application that can be usedin parallel with MPLABreg X IDE

Although DGI encompasses several physical data interfaces the PIC16F18446 Curiosity Nano implementationincludes logic analyzer channels

bull One debug GPIO channel (also known as DGI GPIO)

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 10

3141 Debug GPIODebug GPIO channels are timestamped digital signal lines connecting the target application to a host computervisualization application They are typically used to plot the occurrence of low-frequency events on a time-axis ndash forexample when certain application state transitions occur

The figure below shows the monitoring of the digital state of a mechanical switch connected to a debug GPIO inMPLAB Data VisualizerFigure 3-2 Monitoring Debug GPIO with MPLABreg Data Visualizer

Debug GPIO channels are timestamped so the resolution of DGI GPIO events is determined by the resolution of theDGI timestamp module

Important  Although bursts of higher-frequency signals can be captured the useful frequency range ofsignals for which debug GPIO can be used is up to about 2 kHz Attempting to capture signals above thisfrequency will result in data saturation and overflow which may cause the DGI session to be aborted

3142 TimestampingDGI sources are timestamped as they are captured by the debugger The timestamp counter implemented in theCuriosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond

32 Curiosity Nano Standard PinoutThe 12 edge connections closest to the USB connector on Curiosity Nano boards have a standardized pinout Theprogramdebug pins have different functions depending on the target programming interface as shown in the tableand figure below

Table 3-3 Curiosity Nano Standard Pinout

Debugger Signal Target MCU Description

ID mdash ID line for extensions

CDC TX UART RX USB CDC TX line

CDC RX UART TX USB CDC RX line

DBG0 ICSPDAT Debug data line

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 11

continuedDebugger Signal Target MCU Description

DBG1 ICSPCLK Debug clock line

DBG2 GPIO0 debug GPIO0

DBG3 MCLR Reset line

NC mdash No connect

VBUS mdash VBUS voltage for external use

VOFF mdash Voltage Off input Disables the target regulator andtarget voltage when pulled low

VTG mdash Target voltage

GND mdash Common ground

Figure 3-3 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

33 Power SupplyThe board is powered through the USB port and contains two LDO regulators one to generate 33V for the on-boarddebugger and an adjustable LDO regulator for the target microcontroller PIC16F18446 and its peripherals Thevoltage from the USB connector can vary between 44V to 525V (according to the USB specification) and will limitthe maximum voltage to the target The figure below shows the entire power supply system on PIC16F18446Curiosity Nano

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 12

Figure 3-4 Power Supply Block Diagram

USBTarget MCU

Power source

Cut strap

Power consumer P3V3DEBUGGER

Power converter

DEBUGGERRegulator

VUSB

TargetRegulator

Power Supply strap

Adjust

Level shifter

VLVLVREG

IO IO GPIOstraps

IO

OnOffMeasure OnOff

ID systemVOFF

PTC Fuse

Power protection

VBUS

Target Power strap

VTG

331 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO The on-board debugger can adjust the voltage outputsupplied to the board target section by manipulating the MIC5353rsquos feedback voltage The hardware implementationis limited to an approximate voltage range from 17V to 51V Additional output voltage limits are configured in thedebugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F18446microcontroller The voltage limits configured in the on-board debugger on PIC16F18446 Curiosity Nano are23-51V

Info  The target voltage is set to 33V when the board is manufactured It can be changed throughMPLAB X IDE project properties Any change to the target voltage is persistent even through a powertoggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program

Info  Voltage settings that are set up in MPLABreg X IDE are not immediately applied to the board Thenew voltage setting is applied to the board when the debugger is accessed in any way like pushing theRefresh Debug Tool Status button in the project dashboard tab or programmingreading program memory

Info  There is a simple option to adjust the target voltage with a drag and drop command text file to theboard This only supports settings of 00V 33V and 50V See section 3133 Special Commands forfurther details

The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small package placed on asmall printed circuit board (PCB) and the thermal shutdown condition can be reached at lower loads than 500 mAThe maximum current load depends on the input voltage the selected output voltage and the ambient temperatureThe figure below shows the safe operating area for the regulator with an input voltage of 51V and an ambienttemperature of 23degC

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 13

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 10: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Info  STATUSTXT is dynamically updated by the on-board debugger The contents may be cached bythe OS and therefore do not reflect the correct status

3132 Configuration Words

Configuration Words (PICreg MCU Targets)Configuration Word settings included in the project being programmed after program Flash is programmed Thedebugger will not mask out any bits in the Configuration Words when writing them but since it uses Low-VoltageProgramming mode it is unable to clear the LVP Configuration bit If the incorrect clock source is selected forexample and the board does not boot it is always possible to perform a bulk erase (always done beforeprogramming) and restore the device to its default settings

3133 Special CommandsSeveral utility commands are supported by copying text files to the mass storage disk The filename or extension isirrelevant ndash the command handler reacts to content only

Table 3-2 Special File Commands

Command Content Description

CMDERASE Executes a chip erase of the target

CMDSEND_UART= Sends a string of characters to the CDC UART See ldquoCDC Override Moderdquo

CMDRESET Resets the target device by entering Programming mode and then exitingProgramming mode immediately thereafter Exact timing can vary according tothe programming interface of the target device (Debugger firmware v116 ornewer)

CMDPOWERTOGGLE Powers down the target and restores power after a 100 ms delay If externalpower is provided this has no effect (Debugger firmware v116 or newer)

CMD0V Powers down the target device by disabling the target supply regulator Ifexternal power is provided this has no effect (Debugger firmware v116 ornewer)

CMD3V3 Sets the target voltage to 33V If external power is provided this has no effect(Debugger firmware v116 or newer)

CMD5V0 Sets the target voltage to 50V If external power is provided this has no effect(Debugger firmware v116 or newer)

Info  The commands listed here are triggered by the content being sent to the mass storage emulateddisk and no feedback is provided in the case of either success or failure

314 Data Gateway Interface (DGI)Data Gateway Interface (DGI) is a USB interface for transporting raw and timestamped data between on-boarddebuggers and host computer-based visualization tools MPLAB Data Visualizer is used on the host computer todisplay debug GPIO data It is available as a plug-in for MPLABreg X IDE or a stand-alone application that can be usedin parallel with MPLABreg X IDE

Although DGI encompasses several physical data interfaces the PIC16F18446 Curiosity Nano implementationincludes logic analyzer channels

bull One debug GPIO channel (also known as DGI GPIO)

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 10

3141 Debug GPIODebug GPIO channels are timestamped digital signal lines connecting the target application to a host computervisualization application They are typically used to plot the occurrence of low-frequency events on a time-axis ndash forexample when certain application state transitions occur

The figure below shows the monitoring of the digital state of a mechanical switch connected to a debug GPIO inMPLAB Data VisualizerFigure 3-2 Monitoring Debug GPIO with MPLABreg Data Visualizer

Debug GPIO channels are timestamped so the resolution of DGI GPIO events is determined by the resolution of theDGI timestamp module

Important  Although bursts of higher-frequency signals can be captured the useful frequency range ofsignals for which debug GPIO can be used is up to about 2 kHz Attempting to capture signals above thisfrequency will result in data saturation and overflow which may cause the DGI session to be aborted

3142 TimestampingDGI sources are timestamped as they are captured by the debugger The timestamp counter implemented in theCuriosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond

32 Curiosity Nano Standard PinoutThe 12 edge connections closest to the USB connector on Curiosity Nano boards have a standardized pinout Theprogramdebug pins have different functions depending on the target programming interface as shown in the tableand figure below

Table 3-3 Curiosity Nano Standard Pinout

Debugger Signal Target MCU Description

ID mdash ID line for extensions

CDC TX UART RX USB CDC TX line

CDC RX UART TX USB CDC RX line

DBG0 ICSPDAT Debug data line

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 11

continuedDebugger Signal Target MCU Description

DBG1 ICSPCLK Debug clock line

DBG2 GPIO0 debug GPIO0

DBG3 MCLR Reset line

NC mdash No connect

VBUS mdash VBUS voltage for external use

VOFF mdash Voltage Off input Disables the target regulator andtarget voltage when pulled low

VTG mdash Target voltage

GND mdash Common ground

Figure 3-3 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

33 Power SupplyThe board is powered through the USB port and contains two LDO regulators one to generate 33V for the on-boarddebugger and an adjustable LDO regulator for the target microcontroller PIC16F18446 and its peripherals Thevoltage from the USB connector can vary between 44V to 525V (according to the USB specification) and will limitthe maximum voltage to the target The figure below shows the entire power supply system on PIC16F18446Curiosity Nano

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 12

Figure 3-4 Power Supply Block Diagram

USBTarget MCU

Power source

Cut strap

Power consumer P3V3DEBUGGER

Power converter

DEBUGGERRegulator

VUSB

TargetRegulator

Power Supply strap

Adjust

Level shifter

VLVLVREG

IO IO GPIOstraps

IO

OnOffMeasure OnOff

ID systemVOFF

PTC Fuse

Power protection

VBUS

Target Power strap

VTG

331 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO The on-board debugger can adjust the voltage outputsupplied to the board target section by manipulating the MIC5353rsquos feedback voltage The hardware implementationis limited to an approximate voltage range from 17V to 51V Additional output voltage limits are configured in thedebugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F18446microcontroller The voltage limits configured in the on-board debugger on PIC16F18446 Curiosity Nano are23-51V

Info  The target voltage is set to 33V when the board is manufactured It can be changed throughMPLAB X IDE project properties Any change to the target voltage is persistent even through a powertoggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program

Info  Voltage settings that are set up in MPLABreg X IDE are not immediately applied to the board Thenew voltage setting is applied to the board when the debugger is accessed in any way like pushing theRefresh Debug Tool Status button in the project dashboard tab or programmingreading program memory

Info  There is a simple option to adjust the target voltage with a drag and drop command text file to theboard This only supports settings of 00V 33V and 50V See section 3133 Special Commands forfurther details

The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small package placed on asmall printed circuit board (PCB) and the thermal shutdown condition can be reached at lower loads than 500 mAThe maximum current load depends on the input voltage the selected output voltage and the ambient temperatureThe figure below shows the safe operating area for the regulator with an input voltage of 51V and an ambienttemperature of 23degC

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 13

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 11: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

3141 Debug GPIODebug GPIO channels are timestamped digital signal lines connecting the target application to a host computervisualization application They are typically used to plot the occurrence of low-frequency events on a time-axis ndash forexample when certain application state transitions occur

The figure below shows the monitoring of the digital state of a mechanical switch connected to a debug GPIO inMPLAB Data VisualizerFigure 3-2 Monitoring Debug GPIO with MPLABreg Data Visualizer

Debug GPIO channels are timestamped so the resolution of DGI GPIO events is determined by the resolution of theDGI timestamp module

Important  Although bursts of higher-frequency signals can be captured the useful frequency range ofsignals for which debug GPIO can be used is up to about 2 kHz Attempting to capture signals above thisfrequency will result in data saturation and overflow which may cause the DGI session to be aborted

3142 TimestampingDGI sources are timestamped as they are captured by the debugger The timestamp counter implemented in theCuriosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond

32 Curiosity Nano Standard PinoutThe 12 edge connections closest to the USB connector on Curiosity Nano boards have a standardized pinout Theprogramdebug pins have different functions depending on the target programming interface as shown in the tableand figure below

Table 3-3 Curiosity Nano Standard Pinout

Debugger Signal Target MCU Description

ID mdash ID line for extensions

CDC TX UART RX USB CDC TX line

CDC RX UART TX USB CDC RX line

DBG0 ICSPDAT Debug data line

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 11

continuedDebugger Signal Target MCU Description

DBG1 ICSPCLK Debug clock line

DBG2 GPIO0 debug GPIO0

DBG3 MCLR Reset line

NC mdash No connect

VBUS mdash VBUS voltage for external use

VOFF mdash Voltage Off input Disables the target regulator andtarget voltage when pulled low

VTG mdash Target voltage

GND mdash Common ground

Figure 3-3 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

33 Power SupplyThe board is powered through the USB port and contains two LDO regulators one to generate 33V for the on-boarddebugger and an adjustable LDO regulator for the target microcontroller PIC16F18446 and its peripherals Thevoltage from the USB connector can vary between 44V to 525V (according to the USB specification) and will limitthe maximum voltage to the target The figure below shows the entire power supply system on PIC16F18446Curiosity Nano

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 12

Figure 3-4 Power Supply Block Diagram

USBTarget MCU

Power source

Cut strap

Power consumer P3V3DEBUGGER

Power converter

DEBUGGERRegulator

VUSB

TargetRegulator

Power Supply strap

Adjust

Level shifter

VLVLVREG

IO IO GPIOstraps

IO

OnOffMeasure OnOff

ID systemVOFF

PTC Fuse

Power protection

VBUS

Target Power strap

VTG

331 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO The on-board debugger can adjust the voltage outputsupplied to the board target section by manipulating the MIC5353rsquos feedback voltage The hardware implementationis limited to an approximate voltage range from 17V to 51V Additional output voltage limits are configured in thedebugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F18446microcontroller The voltage limits configured in the on-board debugger on PIC16F18446 Curiosity Nano are23-51V

Info  The target voltage is set to 33V when the board is manufactured It can be changed throughMPLAB X IDE project properties Any change to the target voltage is persistent even through a powertoggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program

Info  Voltage settings that are set up in MPLABreg X IDE are not immediately applied to the board Thenew voltage setting is applied to the board when the debugger is accessed in any way like pushing theRefresh Debug Tool Status button in the project dashboard tab or programmingreading program memory

Info  There is a simple option to adjust the target voltage with a drag and drop command text file to theboard This only supports settings of 00V 33V and 50V See section 3133 Special Commands forfurther details

The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small package placed on asmall printed circuit board (PCB) and the thermal shutdown condition can be reached at lower loads than 500 mAThe maximum current load depends on the input voltage the selected output voltage and the ambient temperatureThe figure below shows the safe operating area for the regulator with an input voltage of 51V and an ambienttemperature of 23degC

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 13

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 12: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

continuedDebugger Signal Target MCU Description

DBG1 ICSPCLK Debug clock line

DBG2 GPIO0 debug GPIO0

DBG3 MCLR Reset line

NC mdash No connect

VBUS mdash VBUS voltage for external use

VOFF mdash Voltage Off input Disables the target regulator andtarget voltage when pulled low

VTG mdash Target voltage

GND mdash Common ground

Figure 3-3 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

33 Power SupplyThe board is powered through the USB port and contains two LDO regulators one to generate 33V for the on-boarddebugger and an adjustable LDO regulator for the target microcontroller PIC16F18446 and its peripherals Thevoltage from the USB connector can vary between 44V to 525V (according to the USB specification) and will limitthe maximum voltage to the target The figure below shows the entire power supply system on PIC16F18446Curiosity Nano

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 12

Figure 3-4 Power Supply Block Diagram

USBTarget MCU

Power source

Cut strap

Power consumer P3V3DEBUGGER

Power converter

DEBUGGERRegulator

VUSB

TargetRegulator

Power Supply strap

Adjust

Level shifter

VLVLVREG

IO IO GPIOstraps

IO

OnOffMeasure OnOff

ID systemVOFF

PTC Fuse

Power protection

VBUS

Target Power strap

VTG

331 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO The on-board debugger can adjust the voltage outputsupplied to the board target section by manipulating the MIC5353rsquos feedback voltage The hardware implementationis limited to an approximate voltage range from 17V to 51V Additional output voltage limits are configured in thedebugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F18446microcontroller The voltage limits configured in the on-board debugger on PIC16F18446 Curiosity Nano are23-51V

Info  The target voltage is set to 33V when the board is manufactured It can be changed throughMPLAB X IDE project properties Any change to the target voltage is persistent even through a powertoggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program

Info  Voltage settings that are set up in MPLABreg X IDE are not immediately applied to the board Thenew voltage setting is applied to the board when the debugger is accessed in any way like pushing theRefresh Debug Tool Status button in the project dashboard tab or programmingreading program memory

Info  There is a simple option to adjust the target voltage with a drag and drop command text file to theboard This only supports settings of 00V 33V and 50V See section 3133 Special Commands forfurther details

The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small package placed on asmall printed circuit board (PCB) and the thermal shutdown condition can be reached at lower loads than 500 mAThe maximum current load depends on the input voltage the selected output voltage and the ambient temperatureThe figure below shows the safe operating area for the regulator with an input voltage of 51V and an ambienttemperature of 23degC

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 13

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 13: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Figure 3-4 Power Supply Block Diagram

USBTarget MCU

Power source

Cut strap

Power consumer P3V3DEBUGGER

Power converter

DEBUGGERRegulator

VUSB

TargetRegulator

Power Supply strap

Adjust

Level shifter

VLVLVREG

IO IO GPIOstraps

IO

OnOffMeasure OnOff

ID systemVOFF

PTC Fuse

Power protection

VBUS

Target Power strap

VTG

331 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO The on-board debugger can adjust the voltage outputsupplied to the board target section by manipulating the MIC5353rsquos feedback voltage The hardware implementationis limited to an approximate voltage range from 17V to 51V Additional output voltage limits are configured in thedebugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F18446microcontroller The voltage limits configured in the on-board debugger on PIC16F18446 Curiosity Nano are23-51V

Info  The target voltage is set to 33V when the board is manufactured It can be changed throughMPLAB X IDE project properties Any change to the target voltage is persistent even through a powertoggle The resolution is less than 5 mV but may be limited to 10 mV by the adjustment program

Info  Voltage settings that are set up in MPLABreg X IDE are not immediately applied to the board Thenew voltage setting is applied to the board when the debugger is accessed in any way like pushing theRefresh Debug Tool Status button in the project dashboard tab or programmingreading program memory

Info  There is a simple option to adjust the target voltage with a drag and drop command text file to theboard This only supports settings of 00V 33V and 50V See section 3133 Special Commands forfurther details

The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a small package placed on asmall printed circuit board (PCB) and the thermal shutdown condition can be reached at lower loads than 500 mAThe maximum current load depends on the input voltage the selected output voltage and the ambient temperatureThe figure below shows the safe operating area for the regulator with an input voltage of 51V and an ambienttemperature of 23degC

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 13

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 14: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Figure 3-5 Target Regulator Safe Operation Area

The voltage output of the target regulator is continuously monitored (measured) by the on-board debugger If it ismore than 100 mV overunder the voltage setting value an error condition will be flagged and the target voltageregulator will be turned off This will detect and handle any short-circuit conditions It will also detect and handle if anexternal voltage which causes VCC_TARGET to move outside of the voltage setting monitoring window of plusmn100 mVis suddenly applied to the VTG pin without setting the VOFF pin low

Info  If the external voltage is lower than the monitoring window lower limit (target voltage setting - 100mV) the on-board debugger status LED will blink rapidly If the external voltage is higher than themonitoring window upper limit (target voltage setting + 100 mV) the on-board debugger status LED willcontinue to shine If the external voltage is removed the status LED will start to blink rapidly until the on-board debugger detects the new situation and turns the target voltage regulator back on

332 External SupplyPIC16F18446 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator Whenthe Voltage Off (VOFF) pin is shorted to ground (GND) the on-board debugger firmware disables the target regulatorand it is safe to apply an external voltage to the VTG pin

It is also safe to apply an external voltage to the VTG pin when no USB cable is plugged into the DEBUG connectoron the board

The VOFF pin can be tied lowlet go at any time This will be detected by a pin-change interrupt to the on-boarddebugger which controls the target voltage regulator accordingly

WARNINGApplying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damageto the board

WARNINGDo not apply any voltage to the VOFF pin Let the pin float to enable the power supply

WARNINGAbsolute maximum external voltage is 55V for the on-board level shifters and the standard operatingcondition of the PIC16F18446 is 23-55V Applying a higher voltage may cause permanent damage to theboard

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 14

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 15: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Info  If an external voltage is applied without pulling the VOFF pin low and an external supply pulls thevoltage lower than the monitoring window lower limit (target voltage setting - 100 mV) the on-boarddebugger status LED will blink rapidly and shut the on-board regulator off If an external voltage issuddenly removed when the VOFF pin is not pulled low the status LED will start to blink rapidly until theon-board debugger detects the new situation and switches the target voltage regulator back on

Programming debugging and data streaming is still possible with an external power supply ndash the debugger andsignal level shifters will be powered from the USB cable Both regulators the debugger and the level shifters arepowered down when the USB cable is removed

Info  In addition to the power consumed by the PIC16F18446 and its peripherals approximately 100 microAwill be drawn from any external power source to power the on-board level shifters and voltage monitorcircuitry when a USB cable is plugged in the DEBUG connector on the board When a USB cable is notplugged in some current is used to supply the level shifters voltage pins which have a worst-case currentconsumption of approximately 5 microA Typical values may be as low as 100 nA

333 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin that can be used to power external components that need a 5Vsupply The VBUS output pin has a PTC fuse to protect the USB against short circuits A side effect of the PTC fuseis a voltage drop on the VBUS output with higher current loads The chart below shows the voltage versus the currentload of the VBUS output

Figure 3-6 VBUS Output Voltage vs Current

334 Power Supply ExceptionsThis is a summary of most exceptions that can occur with the power supply

Target Voltage Shuts DownThis can happen if the target section draws too much current at a given voltage This will cause the thermal shutdownsafety feature of the MIC5353 regulator to kick in To avoid this reduce the current load of the target section

Target Voltage Setting is Not ReachedThe maximum output voltage is limited by the USB input voltage (specified to be 44V-525V) and the voltage dropover the MIC5353 regulator at a given voltage setting and current consumption If a higher output voltage is neededuse a USB power source that can provide a higher input voltage or use an external voltage supply on the VTG pin

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 15

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 16: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Target Voltage is Different From SettingThis can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the targetvoltage differs more than 100 mV overunder the voltage setting it will be detected by the on-board debugger andthe internal voltage regulator will be shut down To fix this issue remove the applied voltage from the VTG pin andthe on-board debugger will enable the on-board voltage regulator when the new condition is detected Note that thePS LED will be blinking rapidly if the target voltage is below 100 mV of the setting but will be lit normally when it ishigher than 100 mV above the setting

No Or Very Low Target Voltage and PS LED is Blinking RapidlyThis can be caused by a full or partial short-circuit and is a special case of the issue mentioned above Remove theshort-circuit and the on-board debugger will re-enable the on-board target voltage regulator

No Target Voltage and PS LED is Lit 1This occurs if the target voltage is set to 00V To fix this set the target voltage to a value within the specified voltagerange for the target device

No Target Voltage and PS LED is Lit 2This can be the issue if power jumper J100 andor J101 is cut and the target voltage regulator is set to a value withinthe specified voltage range for the target device To fix this solder a wirebridge between the pads for J100J101 oradd a jumper on J101 if a pin header is mounted

VBUS Output Voltage is Low or Not PresentThis is most lightly caused by a high-current drain on VBUS and the protection fuse (PTC) will reduce the current orcut off completely Reduce the current consumption on the VBUS pin to fix this issue

34 Low Power MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100 mil pin headermarked with ldquoPOWERrdquo in silkscreen (J101) To measure the power consumption of the PIC16F18446 and otherperipherals connected to the board cut the Target Power strap and connect an ammeter over the strap

To measure the lowest possible power consumption follow these steps1 Cut the POWER strap with a sharp tool2 Solder a 1x2 100 mil pin header in the footprint3 Connect an ammeter to the pin header4 Write firmware that

41 Tri-states any IO connected to the on-board debugger42 Sets the microcontroller in its lowest power Sleep state

5 Program the firmware into the PIC16F18446

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 16

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 17: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Figure 3-7 Target Power Strap

Target Power strap (top side)

Tip  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easyconnection of an ammeter Once the ammeter is no longer needed place a jumper cap on the pin header

Info  The on-board level shifters will draw a small amount of current even when they are not in use Amaximum of 2 microA can be drawn from each IO pin connected to a level shifter for a total of 10 microA Keepany IO pin connected to a level shifter in tri-state to prevent leakage All IOs connected to the on-boarddebugger are listed in 4241 On-Board Debugger Connections To prevent any leakage to the on-boardlevel shifters they can be disconnected completely as described in 74 Disconnecting the On-boardDebugger

35 Programming External MicrocontrollersThe on-board debugger on PIC16F18446 Curiosity Nano can be used to program and debug microcontrollers onexternal hardware

351 Supported DevicesAll external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on-boarddebugger with Atmel Studio

External SAM microcontrollers that have a Curiosity Nano Board can be programmed and debugged with the on-board debugger with Atmel Studio

PIC16F18446 Curiosity Nano can program and debug external PIC16F18446 microcontrollers with MPLAB X IDE

352 Software ConfigurationNo software configuration is required to program and debug the same device that is mounted on the board

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 17

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 18: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

To program and debug a different microcontroller than what is mounted on the board Atmel Studio must beconfigured to allow free selection of devices and programming interfaces

1 Navigate to Tools gt Options through the menu system at the top of the application2 Select the Tools gt Tool settings category in the options window3 Set the Hide unsupported devices option to False

Figure 3-8 Hide Unsupported Devices

Info  Atmel Studio allows any microcontroller and interface to be selected when Hide unsupporteddevices is set to False also microcontrollers and interfaces which are not supported by the on-boarddebugger

353 Hardware ModificationsThe on-board debugger is connected to the PIC16F18446 by default These connections must be removed beforeany external microcontroller can be programmed or debugged Cut the GPIO straps shown in the figure below with asharp tool to disconnect the PIC16F18446 from the on-board debugger

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 18

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 19: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Figure 3-9 Programming and Debugging Connections to Debugger

GPIO straps (bottom side)

Info  Cutting the connections to the debugger will disable programming debugging and data streamingfrom the PIC16F18446 mounted on the board

Tip  Solder in 0Ω resistors across the footprints or short-circuit them with solder to reconnect the signalsbetween the on-board debugger and the PIC16F18446

354 Connecting to External MicrocontrollersThe figure and table below show where the programming and debugging signals must be connected to program anddebug external microcontrollers The on-board debugger can supply power to the external hardware or use anexternal voltage as a reference for its level shifters Read more about the power supply in 33 Power Supply

The on-board debugger and level shifters actively drive data and clock signals (DBG0 DBG1 and DBG2) used forprogramming and debugging and in most cases the external resistor on these signals can be ignored Pull-downresistors are required on the ICSPtrade data and clock signals to debug PICreg microcontrollers

DBG3 is an open-drain connection and requires a pull-up resistor to function

PIC16F18446 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal(DBG0 and DBG1) There is also a pull-up resistor R200 connected to the MCLR signal (DBG3) The location of pullresistors is shown in the 72 Assembly Drawing in the appendix

Remember bull Connect GND and VTG to the external microcontrollerbull Tie the VOFF pin to GND if the external hardware has its own power supplybull Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to

support the debugging of PIC microcontrollers

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 19

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 20: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Figure 3-10 Curiosity Nano Standard Pinout

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

Table 3-4 Programming and Debugging Interfaces

Curiosity Nano Pin UPDI ICSPtrade SWD

DBG0 UPDI DATA SWDIO

DBG1 - CLK SWCLK

DBG2 - - -

DBG3 - MCLR RESET

36 Connecting External DebuggersEven though there is an on-board debugger external debuggers can be connected directly to the PIC16F18446Curiosity Nano to programdebug the PIC16F18446 The on-board debugger keeps all the pins connected to thePIC16F18446 and board edge in tri-state when not actively used Therefore the on-board debugger will not interferewith any external debug tools

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 20

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 21: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Figure 3-11 Connecting the MPLABreg PICkittrade 4 In-Circuit DebuggerProgrammer to PIC16F18446 CuriosityNano

2345678 1

MCLRVDD

GroundDATACLOCK

3 = Ground

4 = PGD

5 = PGC

6 = Unused

7 = Unused

8 = Unused

2 = VDD

1 = MCLR

MPLABreg PICkittrade 4

USB

DEBUGGER

PS LEDNC

ID

CDC RX

CDC TX

DBG1

DBG2

VBUS

VOFF

DBG3

DBG0

GND

VTGCURIOSITY NANO

CAUTIONThe MPLAB PICkit 4 In-circuit DebuggerProgrammer is capable of delivering high voltage on the MCLRpin R110 can be permanently damaged by the high voltage If R110 is broken the on-board debugger cannot enter Programming mode of the PIC16F18446 and will typically fail at reading the device ID

CAUTIONTo avoid contention between the external debugger and the on-board debugger do not start anyprogrammingdebug operation with the on-board debugger through MPLABreg X IDE or mass storageprogramming while the external tool is active

PIC16F18446 Curiosity NanoCuriosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 21

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 22: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

4 Hardware User Guide

41 Connectors

411 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 IO pins are accessible at the edge connectors on the board The image below shows the boardpinout

Figure 4-1 PIC16F18446 Curiosity Nano Pinout

USB

DEBUGGER

PIC16F18446

SW0

LED0

PS LEDNC

NC

ID

ID

CDC RX

CD

CR

XEUSART1 TXRB4

CDC TXC

DC

TXEUSART1 RXRB6

DBG1D

BG

1RA1ICSPCLK

DBG2

DB

G2RA2LED0

RB4

RB

4EUSART1 TXCDC RX

RB6

RB

6EUSART1 RXCDC TX

RB5

RB

5MSSP2 SDA

RB7

RB

7MSSP2 SCL

RC5

RC

5MSSP1 MOSI

RC4

RC

4MSSP1 MISO

RC6

RC

6MSSP1 SCK

RC7

RC

7MSSP1 SS

GND

GN

D

VBUS

VB

US

VOFF

VO

FF

DBG3

DB

G3 RA3 MCLR

DBG0

DB

G0 RA0 ICSPDAT

GND

GN

D

VTG

VT

G

RA5

RA

5 ANA5 (SOSCI)

RA4

RA

4 ANA4 (SOSCO)

RA2

RA

2 ANA2 PWM[67] LED0

RA1

RA

1 ANA1 PWM[67]

RC3

RC

3 ANC3 PWM[67]

RC2

RC

2 ANC2 SW0

RC1

RC

1 ANC1

RC0

RC

0 ANC0

GND

GN

D

DEBUGGERPIC16F18446

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC16F18446Curiosity Nano

Info  Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and others areshown at specific pins to comply with the Curiosity Nano Board standard These signals can usually berouted to alternate pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446

412 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each hole is shifted 8mil (~02 mm) off-center The hole shift allows the use of regular 100 mil pin headers on the board without solderingOnce the pin headers are firmly in place they can be used in normal applications like pin sockets and prototypingboards without any issues

Tip  Start at one end of the pin header and gradually insert the header along the length of the boardOnce all the pins are in place use a flat surface to push them in

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 22

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 23: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Tip  For applications where the pin headers will be used permanently it is still recommended to solderthem in place

Important  Once the pin headers are in place they are hard to remove by hand Use a set of pliers andcarefully remove the pin headers to avoid damage to the pin headers and PCB

42 Peripherals

421 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano Board that can be controlled by eitherGPIO or PWM The LED can be activated by driving the connected IO line to GND

Table 4-1 LED Connection

PIC16F18446 Pin Function Shared Functionality

RA2 Yellow LED0 Edge connector On-board debugger

422 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch This is a generic user-configurable switch When theswitch is pressed it will drive the IO line to ground (GND)

Tip  There is no externally connected pull-up resistor on the switch To use the switch make sure that aninternal pull-up resistor is enabled on pin RC2

Table 4-2 Mechanical Switch

PIC16F18446 Pin Description Shared Functionality

RC2 User switch (SW0) Edge connector

423 CrystalThe PIC16F18446 Curiosity Nano board has a 32768 kHz crystal footprint made for standard 32 mm by 15 mmsurface mount crystals with two terminals

The crystal footprint is not connected to the PIC16F18446 by default as the GPIOs are routed out to the edgeconnector To use the crystal some hardware modifications are required The two IO lines routed to the edgeconnector must be disconnected to reduce the chance of contention to the crystal and to remove excessivecapacitance on the lines This can be done by cutting the two straps on the bottom side of the board marked RA4and RA5 as shown in the figure below Next solder on a solder blob on each of the circular solder points next to thecrystal on the top side of the board as shown in the figure below

Table 4-3 Crystal Connections

PIC16F18446 Pin Function Shared Functionality

RA4 SOSCO (Crystal output) Edge connector

RA5 SOSCI (Crystal input) Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 23

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 24: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Figure 4-2 Crystal Connection and Cut Straps

424 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programmingtrade (ICSPtrade) The on-board debugger also includes a virtual serialport (CDC) interface over UART and debug GPIO MPLABreg X IDE can be used as a front-end for the on-boarddebugger for programming and debugging MPLAB Data Visualizer can be used as a front-end for the CDC anddebug GPIO

4241 On-Board Debugger ConnectionsThe table below shows the connections between the target and the debugger section All connections between thetarget and the debugger are tri-stated as long as the debugger is not actively using the interface Hence since thereare little contaminations of the signals the pins can be configured to anything the user wants

For further information on how to use the capabilities of the on-board debugger see 31 On-Board DebuggerOverview

Table 4-4 On-Board Debugger Connections

PIC16F18446Pin

Debugger Pin Function Shared Functionality

RB6 CDC TX UART RX (PIC16F18446 RX line) Edge connector

RB4 CDC RX UART TX (PIC16F18446 TX line) Edge connector

RA0 DBG0 ICSP DAT Edge connector

RA1 DBG1 ICSP CLK Edge connector

RA2 DBG2 GPIO Edge connector and LED

RA3 DBG3 MCLR Edge connector

PIC16F18446 Curiosity NanoHardware User Guide

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 24

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 25: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

5 Hardware Revision History and Known IssuesThis user guide is written to provide information about the latest available revision of the board The followingsections contain information about known issues a revision history of older revisions and how older revisions differfrom the latest revision

51 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano Board can be found in two ways Either byutilizing the MPLABreg X IDE Kit Window or by looking at the sticker on the bottom side of the PCB

By connecting PIC16F18446 Curiosity Nano to a computer with MPLABreg X IDE running the Kit Window will pop upThe first six digits of the serial number which is listed under kit information contain the product identifier and revision

Tip  The Kit Window can be opened in MPLABreg X IDE through the menu bar Window gt Kit Window

The same information can be found on the sticker on the bottom side of the PCB Most boards will have the identifierand revision printed in plain text as A09-nnnnrr where ldquonnnnrdquo is the identifier and ldquorrrdquo is the revision Boards withlimited space have a sticker with only a data matrix code containing the product identifier revision and serialnumber

The serial number string has the following format

nnnnrrssssssssss

n = product identifier

r = revision

s = serial number

The product identifier for PIC16F18446 Curiosity Nano is A09-3120

52 DAC pin limitationsThe DAC output of the PIC16F18446 is on a shared pin with the ICSP clock signal Due to the load introduced by thepresence of pull-down resistor R204 required for debugging the DAC output will not be as linear as the ideal output

If a more linear response is desired R204 can be removed Be warned that this modification will render debuggingunusable Kit programming is not affected by this limitation and can be done regardless of whether R204 is mounted

53 Revision 8The 32768 kHz crystal used on previous revisions is EOL The crystal is no longer mounted on revision 8

54 Revision 7Revision 7 improves the power supply circuit with PTC protection and the Target Power strap for currentmeasurement

The holes along the edge of the PCB are staggered for convenient use of pin headers without soldering

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 7 of PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 25

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 26: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

55 Revision 5Revision 5 is the initially released revision Figure 5-1 shows a top-down image of this revision alongside its assemblydrawing

There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32768 kHz crystal footprinton revision 5 of PIC16F18446 Curiosity Nano

This revision has a different power supply circuit than the one described in Figure 3-4 in particular with regards topower protection used Refer to Figure 5-2 instead

Revision 5 does not have the Target Power strap as described in 34 Low Power Measurement Instead the currentcan be measured across the Power Supply strap as described in 35 Programming External Microcontrollers

The holes along the edge connections are not staggered as described in 412 Using Pin Headers and requiresoldering when mounting pin headers

Figure 5-1 PIC16F18446 Curiosity Nano Revision 5 with Assembly Drawing

PICregMCUb

PAC10001 PAC10002 COC100

PAC10101

PAC10102 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10401

PAC10402 COC104 PAC10501

PAC10502 COC105

PAC10601 PAC10602 COC106 PAC10701 PAC10702 COC107

PAC10801 PAC10802 COC108

PAC20001 PAC20002

COC200

PAC20301

PAC20302 COC203 PAC20401

PAC20402 COC204

PAC20501 PAC20502 COC205

PAD10002 PAD10001 COD100

PAD20002

PAD20001 COD200

PAJ10002 PAJ10001 COJ100

PAJ10202 PAJ10204

PAJ10201

PAJ10206

PAJ10203 PAJ10205 COJ102

PAJ10507

PAJ10506

PAJ105011 PAJ10509

PAJ105010 PAJ10508

PAJ10505

PAJ10504

PAJ10502

PAJ10503

PAJ10501

PAJ10500

COJ105

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008

PAJ200029 PAJ200030 PAJ200027 PAJ200028 PAJ200026 PAJ200025 PAJ200024

PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015

PAJ200023 PAJ200020 PAJ200022 PAJ200021 PAJ200018 PAJ200019 PAJ200016 PAJ200017

PAJ20000

COJ200

PAJ20101 PAJ20102 COJ201

PAJ20201 PAJ20202 COJ202

PAJ20301 PAJ20302 COJ203

PAJ20401 PAJ20402 COJ204

PAJ20501 PAJ20502 COJ205

PAJ20601 PAJ20602 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210

PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10101 PAQ10102

COQ101 PAR10001 PAR10002 COR100

PAR10101 PAR10102 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10401 PAR10402 COR104

PAR10501

PAR10502 COR105

PAR10601 PAR10602 COR106

PAR10701 PAR10702 COR107

PAR10801 PAR10802 COR108

PAR10901 PAR10902 COR109

PAR11001 PAR11002 COR110

PAR11101

PAR11102 COR111

PAR11201 PAR11202 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203 PAR20401 PAR20402 COR204

PAR20501 PAR20502 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU100025

PAU100023

PAU100024

PAU100027

PAU100033 PAU100026

PAU100020

PAU100022

PAU100021

PAU100019

PAU100018

PAU100017 PAU100016 PAU100014 PAU100015

PAU100029 PAU100032 PAU100030 PAU100028 PAU100031 PAU10001

PAU10002

PAU100012 PAU100011 PAU100013 PAU10009 PAU100010

PAU10005

PAU10006

PAU10003

PAU10004

PAU10007

PAU10008

COU100

PAU10105 PAU10104 PAU10106 PAU10107 PAU10103 PAU10102 PAU10101 COU101

PAU10203 PAU10202

PAU10201 PAU10207 PAU10204

PAU10206

PAU10205 COU102

PAU10306

PAU10305 PAU10304 PAU10303

PAU10302 PAU10301 COU103

PAU10406

PAU10405 PAU10404 PAU10403

PAU10402 PAU10401 COU104

PAU10506

PAU10505 PAU10504 PAU10503

PAU10502 PAU10501

COU105

PAU10606

PAU10605 PAU10604 PAU10603

PAU10602 PAU10601 COU106

PAU10706

PAU10705 PAU10704 PAU10703

PAU10702 PAU10701 COU107

PAU1080A1 PAU1080A2

PAU1080B1 PAU1080B2

PAU1080C1 PAU1080C2 COU108 PAU10907

PAU10906 PAU10905 PAU10904

PAU10903 PAU10902 PAU10901 COU109

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200

PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 26

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 27: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Figure 5-2 Power Supply Block Diagram for Revision 5 of the PIC16F18446 Curiosity Nano

PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 27

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 28: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

6 Document Revision HistoryDoc rev Date Comment

C 062020 Added hardware revision 8

B 102019 Added hardware revision 7

A 102018 Initial document release

PIC16F18446 Curiosity NanoDocument Revision History

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 28

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 29: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

7 Appendix

71 SchematicFigure 7-1 PIC16F18446 Curiosity Nano Schematic

11

22

33

44

55

66

77

88

DD

CC

BB

AA

2 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

Targ

et_M

CU

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Targ

et M

CU

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

5pF

C20

3N

M5p

FC

204

NM

GN

D

GN

DV

CC

_TA

RG

ET

100n

C20

0

GN

D

32kH

z C

ryst

al

DBG0

CDC_UART

TX

RX

UA

RT

1kR203

US

ER

LE

D

VC

C_T

AR

GE

T

GN

D

USE

R B

UT

TO

N

1kR202

YELLOWLEDSML-D12Y1WT86

2 1D200

TS604VM1-035CR13

4 2

SW20

0

CDC_TXCDC_RX

DBG2

GN

DV

CC

_ED

GE

GN

DG

ND

DBG1

DBG3

DBG2

DE

BU

GG

ER

CO

NN

EC

TIO

NS

10kR200

VC

C_T

AR

GE

T

DBG1

DBG3

J209

DBG0

PIC

16F

1844

6

ICSP

DA

T

ICS

PC

LK

GPI

O0

MC

LR

DB

G0

DB

G1

DB

G2

DB

G3

Deb

ugge

r

CD

C T

X

CD

C R

X

EU

SAR

T1

RX

EU

SAR

T1

TX

PIC

16F

1844

6

RA

3_M

CL

RR

A1_

ICSP

CL

K_A

NA

1

J210

J211 XOUT

XIN

RA3MCLRVPP

1

RC5

2

RC4

3

RC3

4

RC6

5

RC76

RB77

RB68

RB59

RB410

RC2

11

RC1

12

RC0

13

RA2

14

ICSPCLKRA1

15

ICSPDATRA016

VSS17

VDD18

RA519

RA420

PAD

21

PIC

16F1

8446

-IG

ZU

200

GN

D

22u

FC

205

VC

C_E

DG

E

GN

D

RA0_ICSPDATR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

K

RC7_SPI_SS

RA

2_A

NA

2_L

ED

RA4_ANA4_SOSCORA5_ANA5_SOSCI

RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

RA4_ANA4_SOSCO

RA5_ANA5_SOSCI

RA2_ANA2_LED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

RB

5_I2

C_S

DA

RB

7_I2

C_S

CL

RC

4_SP

I_M

ISO

RC

5_SP

I_M

OSI

RC

6_SP

I_SC

KR

C7_

SPI_

SSR

C0_

AN

C0

RC

1_A

NC

1R

C2_

AN

C2_

SWR

C3_

AN

C3

RA

1_IC

SPC

LK

_AN

A1

RA

2_A

NA

2_L

ED

RA

4_A

NA

4_SO

SCO

RA

5_A

NA

5_SO

SCI

RA

1_IC

SPC

LK

_AN

A1

RA

0_IC

SPD

AT

RA

3_M

CL

R

RA

2_A

NA

2_L

ED

RB

4_U

AR

T_T

XR

B6_

UA

RT

_RX

J207

J208

TA

RG

ET

BU

LK

RC2_ANC2_SW

PR

OG

DE

BU

G P

ull

47kR204

47kR205

GN

D

VT

G2

3V -

55

V

VOFF

ID_SYS

ID_SYS

VOFF

DB

G0

DB

G1

CD

C R

X3

CD

C T

X4

DB

G1

5

DB

G2

6

0 T

X7

1 R

X8

2 SD

A9

3 S

CL

10

4 M

OSI

11

5 M

ISO

12

6 S

CK

13

7 S

S14

GN

D15

DB

G3

28

DB

G0

27

GN

D26

VC

C25

PW

M 3

20

AD

C 2

19

AD

C 1

18

AD

C 0

17

GN

D16

AD

C 7

24

AD

C 6

23

AD

C 5

22

PW

M 4

21

DE

BU

GG

ER

TAR

GE

T

ID2

VO

FF

29

RE

SER

VE

D1

VB

US

30

CN

AN

O30

-pin

edg

e co

nnec

tor

J200

VB

US

J201

J203

J205

J206

J202

J204

NC

RA

1

RA

2

RA

3

RA

0

RB

4

RB

6

Nam

eP

in

327

68kH

z

XC

200

NM

NO

TE

on

UA

RT

CD

C

RX

TX

on

the

head

er d

enot

es th

e in

puto

utpu

t dir

ectio

n of

the

sign

al

resp

ectiv

e to

its

sou

rce

CD

C T

X is

out

put f

rom

the

DE

BU

GG

ER

C

DC

RX

is in

put t

o th

e D

EB

UG

GE

R

TX

is o

utpu

t fro

m th

e T

AR

GE

T d

evic

eR

X is

inpu

t to

the

TA

RG

ET

dev

ice

NO

TE

on

I2C

No

pull

-ups

on

boar

d P

ull-

ups

shou

ld b

e m

ount

ed c

lose

to s

lave

dev

ice(

s)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 29

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 30: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

11

22

33

44

55

66

77

88

DD

CC

BB

AA

3 of

4

PIC

16F

1844

6 C

uri

osit

y N

ano

250

520

20P

IC16

F18

446_

Cur

iosi

ty_N

ano_

DE

BU

GG

ER

Sch

Doc

Proj

ect T

itle

PCB

Ass

embl

y N

umbe

rPC

BA

Rev

isio

n

File

P

CB

Num

ber

PC

B

Rev

isio

n

Des

ign

ed w

ith

Dra

wn

By

Mic

roch

ip N

orw

ay

Shee

t Titl

e

Deb

ugge

r

Eng

inee

rH

N

A08

-286

36

Size

A3

A09

-312

08

Page

D

ateA

ltium

com

DE

BU

GG

ER

USB

MIC

RO

-B C

ON

NE

CT

OR

GN

D

USB

D_P

USB

D_N

100n

C10

7

100n

C10

8

RX

TX

UA

RT

CDC_UART

1kR

107

VC

C_P

3V3

100n

C10

4

GN

D

SRST

STA

TU

S_L

ED

SHIE

LD

VB

US

VC

C_P

3V3

GN

D

TP

100

Test

poin

t Arr

ay

12

34

56

78

910

TC

KT

DO

TM

SV

sup

TD

IG

ND

TR

STSR

STV

Tre

fG

ND

J102

GN

D

47u

F

C10

0

DBG0

DB

G0

21

GR

EE

N L

ED

SML

-P12

MT

T86

R

D10

0

VBUS

1

D-

2

D+

3

GND

5

SHIELD1

6

SHIELD2

7

ID

4

SHIELD3

8

SHIELD4

9 MU

-MB

0142

AB

2-26

9

J105

USB

_AB

PAD

33

PA00

1

PA01

2

PA02

3

PA03

4

GND10

VDDANA9

PA04

5

PA05

6

PA06

7

PA07

8

PA0811

PA0912

PA1013

PA1114

PA1415

PA1516

PA16

17

PA17

18

PA18

19

PA19

20

PA22

21

USB_SOFPA23

22

USB_DMPA24

23

USB_DPPA25

24

PA2725

RESETN26

PA2827

GND28

VDDCORE29

VDDIN30

SWDCLKPA3031

SWDIOPA3132

SAM

D21

E18

A-M

UT

U10

0

VOUT

1

VOUT

2

GND3

EN

4

VIN

6

NC

5

EP7

MIC

5528

-33

YM

TU

101

VC

C_P

3V3

GN

D

USB

D_P

USB

D_N

GN

D

1uC

106

VC

C_M

CU

_CO

RE

VC

C_P

3V3

VC

C_P

3V3

22u

FC

101

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

3

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

4

VC

C_P

3V3

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

5

VC

C_P

3V3

GN

D

GN

D GN

D

GN

D

VC

C_E

DG

E

GN

D

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

7

VC

C_P

3V3

GN

DDBG2

DB

G3_

CT

RL

S1_0

_TX

S1_1

_RX

S0_2

_TX

DA

CV

TG

_AD

C

RE

SER

VE

D

S0_3

_CL

K

DBG0_CTRL

CD

C_T

X_C

TR

L

BO

OT

DE

BU

GG

ER

PO

WE

RS

TA

TU

S L

ED

EN

1

BYP

6

VOUT

4

GND

2

VIN

3

NCADJ

5

GND

7

MIC

5353

U10

2

100n

C10

2

GN

D

GN

D

47kR101

27kR104 G

ND

33k

R10

6

22u

F

C10

3 GN

D

1kR

108

J100

VC

C_L

EV

EL

VC

C_R

EG

UL

AT

OR

74L

VC

1T45

FW

4-7

VCCA

1VCCB

6

A3

GND

2DIR

5

B4

U10

6

VC

C_P

3V3

GN

DDBG1

CD

C_R

XC

DC

_TX

DBG3

DBG1_CTRL

DE

BU

GG

ER

RE

GU

LA

TO

R

REG_ENABLE

RE

G_E

NA

BL

E

47kR103

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

VC

C_L

EV

EL

47kR102

47kR105

SWC

LK

GN

D

47kR100 G

ND

DB

G2

S0_0

_RX

DB

G1_

CT

RL

DB

G0_

CT

RL

DB

G3

OP

EN

DR

AIN

TA

RG

ET

AD

JUST

AB

LE

RE

GU

LA

TO

R

SRST

DE

BU

GG

ER

TE

ST

PO

INT

DBG2_CTRL

VO

FF

CD

C_R

X_C

TR

L

47kR109

DB

G1

CD

C_T

X_C

TR

L

CD

C_R

X_C

TR

L

SWC

LK

REG_ADJUST

DBG2_GPIO

DB

G3_

CT

RL

DB

G2_

CT

RL

UP

DI

UPD

I

GPI

O

GPI

O

RE

SET

Sign

al

DB

G0

DB

G1

DB

G2

DB

G3

ICS

PIn

terf

ace

DA

T

CL

K

GPI

O

MC

LR

DB

G3

CD

C T

X

CD

C R

X

UA

RT

RX

UA

RT

TX

UA

RT

RX

UA

RT

TX

TA

RG

ET

TA

RG

ET

1kR

110

VBUS_ADC

1

23

DM

N65

D8L

FB

Q10

1

VC

C-

-

ID_SYS

VOFF

1kR112

VC

C_P

3V3

VT

G_A

DC

DA

C

MIC

9416

3

VIN

B2

VOUT

A1

VIN

A2

EN

C2

GND

C1

VOUT

B1

U10

8

MIC

9416

3

GN

D

ID_S

YS

VT

G_E

N

VTG_EN

VBUS_ADC

SWD

IO

ID_S

YS

TP

101

GN

DSW

DIO

VO

FF

47kR111 G

ND

ID P

IN

VC

C_V

BU

S MC

3621

3

F10

0V

CC

_VB

US

VC

C_V

BU

S

J101

VC

C_T

AR

GE

T

Prog

ram

min

g co

nnec

tor

for

fact

ory

prog

ram

min

g of

DE

BU

GG

ER

MIC

5528

V

in 2

5V

to 5

5V

Vou

t F

ixed

33

VIm

ax 5

00m

AD

ropo

ut 2

60m

V

500

mA

MIC

5353

V

in 2

6V

to 6

VV

out

125

V to

51

VIm

ax 5

00m

AD

ropo

ut (

typi

cal)

50m

V

150m

A 1

60m

V

500

mA

Acc

urac

y 2

in

itial

The

rmal

shu

tdow

n an

d cu

rren

t lim

it

Max

imum

out

put v

olta

ge is

lim

ited

by

the

inpu

t vol

tage

and

the

drop

out v

olta

ge in

the

regu

lato

r(V

max

= V

in -

dro

pout

)

J100

C

ut-s

trap

use

d fo

r fu

ll s

epar

atio

n of

targ

et p

ower

fro

m th

e le

vel s

hift

ers

and

on-b

oard

reg

ulat

ors

- F

or c

urre

nt m

easu

rem

ents

usi

ng a

n ex

tern

al p

ower

sup

ply

this

str

ap c

ould

be

cut f

or m

ore

accu

rate

mea

sure

men

ts L

eaka

ge b

ack

thro

ugh

the

swit

ch is

in th

e m

icro

am

pere

ran

ge

J101

T

his

is f

ootp

rint

for

a 1

x2 1

00m

il p

itch

pin

-hea

der

that

can

be

used

for

eas

y cu

rren

t mea

sure

men

t to

the

targ

et m

icro

cont

rolle

r an

d th

e L

ED

B

utto

n T

o us

e th

e fo

otpr

int

- C

ut th

e tr

ack

betw

een

the

hole

s a

nd m

ount

a p

in-h

eade

r

Adj

usta

ble

outp

ut a

nd li

mita

tions

-

The

DE

BU

GG

ER

can

adj

ust t

he o

utpu

t vol

tage

of

the

regu

lato

r be

twee

n 1

25V

and

51

V to

the

targ

et

-T

hevo

ltage

outp

utis

limit

edby

the

inpu

t(U

SB

)w

hich

can

vary

betw

een

440

Vto

525

V-

The

leve

l shi

fter

s ha

ve a

min

imal

vol

tage

leve

l of

165

V a

nd w

ill l

imit

the

min

imum

ope

ratin

g vo

ltage

all

owed

for

the

targ

et to

sti

ll al

low

com

mun

icat

ion

- T

he M

IC94

163

has

a m

inim

al v

olat

ege

leve

l of

170

V a

nd w

ill l

imit

the

min

imum

vol

tage

del

iver

ed to

the

targ

et

- F

irm

war

e co

nfig

urat

ion

will

lim

it th

e vo

ltage

ran

ge to

be

wit

hin

the

the

targ

et s

peci

fica

tion

PT

C R

eset

tabl

e fu

se

Hol

d cu

rren

t 50

0mA

Tri

p cu

rren

t 10

00m

A

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 30

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 31: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

72 Assembly DrawingFigure 7-2 PIC16F18446 Curiosity Nano Assembly Drawing Top

PICregMCUb

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002

COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

Figure 7-3 PIC16F18446 Curiosity Nano Assembly Drawing Bottom

cR

t

PAC10002 PAC10001 COC100 PAC10102 PAC10101 COC101 PAC10201 PAC10202 COC102

PAC10301 PAC10302 COC103

PAC10402 PAC10401 COC104

PAC10602 PAC10601 COC106 PAC10702 PAC10701 COC107

PAC10802

PAC10801 COC108 PAC20001

PAC20002 COC200

PAC20301 PAC20302 COC203 PAC20401 PAC20402 COC204

PAC20502

PAC20501 COC205

PAD10001 PAD10002 COD100

PAD20002

PAD20001 COD200

PAF10001

PAF10002 COF100

PAJ10001 PAJ10002 COJ100

PAJ10101 PAJ10102 COJ101

PAJ10201

PAJ10202

PAJ10203

PAJ10204

PAJ10205

PAJ10206 COJ102

PAJ105011

PAJ105010 PAJ10508

PAJ10509 PAJ10507

PAJ10506 PAJ10501

PAJ10502

PAJ10503

PAJ10504

PAJ10505

PAJ10500

COJ105

PAJ200028 PAJ200027

PAJ200015 PAJ200013 PAJ200012 PAJ200011 PAJ200010 PAJ20009 PAJ20008 PAJ20007 PAJ20006 PAJ20005 PAJ20004 PAJ20003 PAJ20002 PAJ20001

PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023 PAJ200024 PAJ200025 PAJ200026 PAJ200016 PAJ200017

PAJ200014

PAJ200029 PAJ200030 PAJ20000

COJ200

PAJ20102 PAJ20101 COJ201

PAJ20202 PAJ20201 COJ202

PAJ20302 PAJ20301 COJ203

PAJ20402 PAJ20401 COJ204

PAJ20502 PAJ20501 COJ205

PAJ20602 PAJ20601 COJ206

PAJ20702 PAJ20701 COJ207

PAJ20802 PAJ20801 COJ208

PAJ20902 PAJ20901 COJ209

PAJ21002 PAJ21001 PAJ21005 COJ210 PAJ21102 PAJ21101 PAJ21105 COJ211 COLABEL1

PAQ10103 PAQ10102 PAQ10101 COQ101

PAR10001 PAR10002 COR100

PAR10102 PAR10101 COR101

PAR10201 PAR10202 COR102

PAR10301 PAR10302 COR103

PAR10402 PAR10401 COR104

PAR10501

PAR10502 COR105

PAR10602 PAR10601 COR106

PAR10701 PAR10702 COR107

PAR10802 PAR10801 COR108

PAR10902

PAR10901 COR109 PAR11002 PAR11001 COR110

PAR11102 PAR11101 COR111

PAR11202 PAR11201 COR112

PAR20001 PAR20002 COR200

PAR20201

PAR20202 COR202 PAR20302

PAR20301 COR203

PAR20402 PAR20401 COR204

PAR20502

PAR20501 COR205

PASW20004 PASW20002

PASW20003 PASW20001 COSW200

PATP10001 COTP100

PATP10101 COTP101

PAU10009 PAU10008 PAU10007

PAU10006

PAU10005 PAU10004

PAU10003

PAU10002

PAU10001

PAU100010 PAU100011 PAU100012 PAU100013 PAU100014 PAU100015 PAU100016 PAU100017 PAU100018

PAU100019

PAU100020 PAU100021

PAU100022

PAU100023

PAU100024

PAU100025 PAU100026 PAU100027 PAU100028 PAU100029 PAU100030 PAU100031 PAU100032

PAU100033 COU100

PAU10101 PAU10102 PAU10103

PAU10106 PAU10105 PAU10104

PAU10107

PAU10100 COU101 PAU10201

PAU10202 PAU10203

PAU10206

PAU10205 PAU10204

PAU10207 COU102

PAU10301

PAU10302 PAU10303 PAU10304

PAU10305 PAU10306

PAU10300 COU103

PAU10401

PAU10402 PAU10403 PAU10404

PAU10405 PAU10406

PAU10400 COU104

PAU10501

PAU10502 PAU10503 PAU10504

PAU10505 PAU10506

PAU10500 COU105

PAU10601

PAU10602 PAU10603 PAU10604

PAU10605 PAU10606

PAU10600 COU106

PAU10701

PAU10702 PAU10703 PAU10704

PAU10705 PAU10706

PAU10700 COU107

PAU1080C2 PAU1080C1 PAU1080B2 PAU1080B1

PAU1080A2 PAU1080A1 COU108

PAU20001 PAU20002 PAU20003 PAU20004 PAU20005 PAU20006 PAU20007 PAU20008 PAU20009 PAU200010

PAU200011 PAU200012 PAU200013 PAU200014 PAU200015 PAU200016 PAU200017 PAU200018 PAU200019 PAU200020 PAU200021 COU200 PAXC20002

PAXC20001 COXC200

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 31

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 32: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

73 Curiosity Nano Base for Click boardstrade

Figure 7-4 PIC16F18446 Curiosity Nano Pinout Mapping

US

B

DE

BU

GG

ER

PIC

16

F1

84

46

SW

0

LE

D0

PS

LE

DNC

NC

ID

ID

CDC RX

CDCRX

EUSART1 TX

RB4

CDC TX

CDCTX

EUSART1 RX

RB6

DBG1

DBG1

RA1

ICSPCLK

DBG2

DBG2

RA2

LED0

RB4

RB4

EUSART1 TX

CDC RX

RB6

RB6

EUSART1 RX

CDC TX

RB5

RB5

MSSP2 SDA

RB7

RB7

MSSP2 SCL

RC5

RC5

MSSP1 MOSI

RC4

RC4

MSSP1 MISO

RC6

RC6

MSSP1 SCK

RC7

RC7

MSSP1 SS

GND

GND

VBUS

VBUS

VOFF

VOFF

DBG3

DBG3

RA3

MCLR

DBG0

DBG0

RA0

ICSPDAT

GND

GND

VTG

VTG

RA5

RA5

ANA5

(SOSCI)

RA4

RA4

ANA4

(SOSCO)

RA2

RA2

ANA2

PWM[67]

LED0

RA1

RA1

ANA1

PWM[67]

RC3

RC3

ANC3

PWM[67]

RC2

RC2

ANC2

SW0

RC1

RC1

ANC1

RC0

RC0

ANC0

GND

GND

DE

BU

GG

ER

PIC

16

F1

84

46

Analog

Debug

I2C

SPI

UART

Peripheral

Port

PWM

Power

Ground

Shared pin

PIC

16

F1

84

46

Cu

rio

sity

Na

no

1

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

2

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

3

AN

PW

M

RS

TIN

T

CS

RX

SC

KT

X

MIS

OS

CL

MO

SI

SD

A

+3

3V

+5

V

GN

DG

ND

Xp

lain

ed

Pro

Ext

en

sio

nE

XT

11

2

19

20

Cu

rio

sity

Na

no

Ba

sefo

r cl

ick

bo

ard

sT

M

RC0

RC3

RA5

RA4

RC7

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC1

RA1

RC6

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

RC2

RA2

RB6

RC6

RB4

RC4

RB7

RC5

RB5

+33V

+5V

GND

GND

ID

GND

RC1

RC2

RA1

RA2

RB5

RB7

RC5

RC4

RC6

GND

+33V

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 32

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 33: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

74 Disconnecting the On-board DebuggerThe on-board debugger and level shifters can be completely disconnected from the PIC16F18446

The block diagram below shows all connections between the debugger and the PIC16F18446 The rounded boxesrepresent connections to the board edge The signal names shown are also printed in silkscreen on the bottom sideof the board

To disconnect the debugger cut the straps shown in Figure 7-6

Attention  Cutting the GPIO straps to the on-board debugger will disable the virtual serial portprogramming debugging and data streaming Cutting the power supply strap will disconnect the on-boardpower supply

Tip  Any connection that is cut can be reconnected using solder Alternatively a 0Ω 0402 resistor can bemounted

Tip  When the debugger is disconnected an external debugger can be connected to holes shown in Figure 7-6 Details about connecting an external debugger are described in 36 Connecting ExternalDebuggers

Figure 7-5  On-Board Debugger Connections Block Diagram

DE

BU

GG

ER

TARGETLevel-Shift

PA04PA06PA07PA08PA16PA00PA01

USB

DIR x 5

VCC_P3V3

VBUS

VC

C_L

EV

EL

VC

C_T

AR

GE

TDBG0DBG1DBG2DBG3CDC TXCDC RX

CDC RX

CDC TX

DBG3

DBG2

DBG1

DBG0

GPIO straps

LDO

VOFF

LDO

VBUS VTG

VCC_EDGE

Power Supply strap Target Power strap

UART RXUART TX

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 33

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 34: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

Figure 7-6 On-Board Debugger Connection Cut Straps

GPIO straps (bottom side) Power Supply strap (top side)

PIC16F18446 Curiosity NanoAppendix

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 34

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 35: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

The Microchip WebsiteMicrochip provides online support via our website at wwwmicrochipcom This website is used to make files andinformation easily available to customers Some of the content available includes

bull Product Support ndash Data sheets and errata application notes and sample programs design resources userrsquosguides and hardware support documents latest software releases and archived software

bull General Technical Support ndash Frequently Asked Questions (FAQs) technical support requests onlinediscussion groups Microchip design partner program member listing

bull Business of Microchip ndash Product selector and ordering guides latest Microchip press releases listing ofseminars and events listings of Microchip sales offices distributors and factory representatives

Product Change Notification ServiceMicrochiprsquos product change notification service helps keep customers current on Microchip products Subscribers willreceive email notification whenever there are changes updates revisions or errata related to a specified productfamily or development tool of interest

To register go to wwwmicrochipcompcn and follow the registration instructions

Customer SupportUsers of Microchip products can receive assistance through several channels

bull Distributor or Representativebull Local Sales Officebull Embedded Solutions Engineer (ESE)bull Technical Support

Customers should contact their distributor representative or ESE for support Local sales offices are also available tohelp customers A listing of sales offices and locations is included in this document

Technical support is available through the website at wwwmicrochipcomsupport

Microchip Devices Code Protection FeatureNote the following details of the code protection feature on Microchip devices

bull Microchip products meet the specification contained in their particular Microchip Data Sheetbull 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 conditionsbull 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 operatingspecifications contained in Microchiprsquos Data Sheets Most likely the person doing so is engaged in theft ofintellectual property

bull Microchip is willing to work with the customer who is concerned about the integrity of their codebull 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 ldquounbreakablerdquo

Code protection is constantly evolving We at Microchip are committed to continuously improving the code protectionfeatures of our products Attempts to break Microchiprsquos code protection feature may be a violation of the DigitalMillennium Copyright Act If such acts allow unauthorized access to your software or other copyrighted work youmay have a right to sue for relief under that Act

Legal NoticeInformation contained in this publication regarding device applications and the like is provided only for yourconvenience and may be superseded by updates It is your responsibility to ensure that your application meets with

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 35

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 36: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

your specifications MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED WRITTEN OR ORAL STATUTORY OR OTHERWISE RELATED TO THE INFORMATIONINCLUDING BUT NOT LIMITED TO ITS CONDITION QUALITY PERFORMANCE MERCHANTABILITY ORFITNESS FOR PURPOSE Microchip disclaims all liability arising from this information and its use Use of Microchipdevices in life support andor safety applications is entirely at the buyerrsquos risk and the buyer agrees to defendindemnify and hold harmless Microchip from any and all damages claims suits or expenses resulting from suchuse No licenses are conveyed implicitly or otherwise under any Microchip intellectual property rights unlessotherwise stated

TrademarksThe Microchip name and logo the Microchip logo Adaptec AnyRate AVR AVR logo AVR Freaks BesTimeBitCloud chipKIT chipKIT logo CryptoMemory CryptoRF dsPIC FlashFlex flexPWR HELDO IGLOO JukeBloxKeeLoq Kleer LANCheck LinkMD maXStylus maXTouch MediaLB megaAVR Microsemi Microsemi logo MOSTMOST logo MPLAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip DesignerQTouch SAM-BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer TachyonTempTrackr TimeSource tinyAVR UNIO Vectron and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the USA and other countries

APT ClockWorks The Embedded Control Solutions Company EtherSynch FlashTec Hyper Speed ControlHyperLight Load IntelliMOS Libero motorBench mTouch Powermite 3 Precision Edge ProASIC ProASIC PlusProASIC Plus logo Quiet-Wire SmartFusion SyncWorld Temux TimeCesium TimeHub TimePictra TimeProviderVite WinPath and ZL are registered trademarks of Microchip Technology Incorporated in the USA

Adjacent Key Suppression AKS Analog-for-the-Digital Age Any Capacitor AnyIn AnyOut BlueSky BodyComCodeGuard CryptoAuthentication CryptoAutomotive CryptoCompanion CryptoController dsPICDEMdsPICDEMnet Dynamic Average Matching DAM ECAN EtherGREEN In-Circuit Serial Programming ICSPINICnet Inter-Chip Connectivity JitterBlocker KleerNet KleerNet logo memBrain Mindi MiWi MPASM MPFMPLAB Certified logo MPLIB MPLINK MultiTRAK NetDetach Omniscient Code Generation PICDEMPICDEMnet PICkit PICtail PowerSmart PureSilicon QMatrix REAL ICE Ripple Blocker SAM-ICE Serial QuadIO SMART-IS SQI SuperSwitcher SuperSwitcher II Total Endurance TSHARC USBCheck VariSenseViewSpan WiperLock Wireless DNA and ZENA are trademarks of Microchip Technology Incorporated in the USAand other countries

SQTP is a service mark of Microchip Technology Incorporated in the USA

The Adaptec logo Frequency on Demand Silicon Storage Technology and Symmcom are registered trademarks ofMicrochip Technology Inc in other countries

GestIC is a registered trademark of Microchip Technology Germany II GmbH amp Co KG a subsidiary of MicrochipTechnology Inc in other countries

All other trademarks mentioned herein are property of their respective companiescopy 2020 Microchip Technology Incorporated Printed in the USA All Rights Reserved

ISBN 978-1-5224-6112-8

Quality Management SystemFor information regarding Microchiprsquos Quality Management Systems please visit wwwmicrochipcomquality

PIC16F18446 Curiosity Nano

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 36

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service
Page 37: PIC16F18446 Curiosity Nano Hardware User Guideww1.microchip.com/.../PIC16F18446-Curiosity-Nano-HW... · the features of the PIC16F18446 to explore how to integrate the device into

AMERICAS ASIAPACIFIC ASIAPACIFIC EUROPECorporate Office2355 West Chandler BlvdChandler AZ 85224-6199Tel 480-792-7200Fax 480-792-7277Technical SupportwwwmicrochipcomsupportWeb AddresswwwmicrochipcomAtlantaDuluth GATel 678-957-9614Fax 678-957-1455Austin TXTel 512-257-3370BostonWestborough MATel 774-760-0087Fax 774-760-0088ChicagoItasca ILTel 630-285-0071Fax 630-285-0075DallasAddison TXTel 972-818-7423Fax 972-818-2924DetroitNovi MITel 248-848-4000Houston TXTel 281-894-5983IndianapolisNoblesville INTel 317-773-8323Fax 317-773-5453Tel 317-536-2380Los AngelesMission Viejo CATel 949-462-9523Fax 949-462-9608Tel 951-273-7800Raleigh NCTel 919-844-7510New York NYTel 631-435-6000San Jose CATel 408-735-9110Tel 408-436-4270Canada - TorontoTel 905-695-1980Fax 905-695-2078

Australia - SydneyTel 61-2-9868-6733China - BeijingTel 86-10-8569-7000China - ChengduTel 86-28-8665-5511China - ChongqingTel 86-23-8980-9588China - DongguanTel 86-769-8702-9880China - GuangzhouTel 86-20-8755-8029China - HangzhouTel 86-571-8792-8115China - Hong Kong SARTel 852-2943-5100China - NanjingTel 86-25-8473-2460China - QingdaoTel 86-532-8502-7355China - ShanghaiTel 86-21-3326-8000China - ShenyangTel 86-24-2334-2829China - ShenzhenTel 86-755-8864-2200China - SuzhouTel 86-186-6233-1526China - WuhanTel 86-27-5980-5300China - XianTel 86-29-8833-7252China - XiamenTel 86-592-2388138China - ZhuhaiTel 86-756-3210040

India - BangaloreTel 91-80-3090-4444India - New DelhiTel 91-11-4160-8631India - PuneTel 91-20-4121-0141Japan - OsakaTel 81-6-6152-7160Japan - TokyoTel 81-3-6880- 3770Korea - DaeguTel 82-53-744-4301Korea - SeoulTel 82-2-554-7200Malaysia - Kuala LumpurTel 60-3-7651-7906Malaysia - PenangTel 60-4-227-8870Philippines - ManilaTel 63-2-634-9065SingaporeTel 65-6334-8870Taiwan - Hsin ChuTel 886-3-577-8366Taiwan - KaohsiungTel 886-7-213-7830Taiwan - TaipeiTel 886-2-2508-8600Thailand - BangkokTel 66-2-694-1351Vietnam - Ho Chi MinhTel 84-28-5448-2100

Austria - WelsTel 43-7242-2244-39Fax 43-7242-2244-393Denmark - CopenhagenTel 45-4485-5910Fax 45-4485-2829Finland - EspooTel 358-9-4520-820France - ParisTel 33-1-69-53-63-20Fax 33-1-69-30-90-79Germany - GarchingTel 49-8931-9700Germany - HaanTel 49-2129-3766400Germany - HeilbronnTel 49-7131-72400Germany - KarlsruheTel 49-721-625370Germany - MunichTel 49-89-627-144-0Fax 49-89-627-144-44Germany - RosenheimTel 49-8031-354-560Israel - RarsquoananaTel 972-9-744-7705Italy - MilanTel 39-0331-742611Fax 39-0331-466781Italy - PadovaTel 39-049-7625286Netherlands - DrunenTel 31-416-690399Fax 31-416-690340Norway - TrondheimTel 47-72884388Poland - WarsawTel 48-22-3325737Romania - BucharestTel 40-21-407-87-50Spain - MadridTel 34-91-708-08-90Fax 34-91-708-08-91Sweden - GothenbergTel 46-31-704-60-40Sweden - StockholmTel 46-8-5090-4654UK - WokinghamTel 44-118-921-5800Fax 44-118-921-5820

Worldwide Sales and Service

copy 2020 Microchip Technology Inc User Guide DS50002808C-page 37

  • Preface
  • Table of Contents
  • 1 Introduction
    • 11 Features
    • 12 Kit Overview
      • 2 Getting Started
        • 21 Quick Start
        • 22 Design Documentation and Relevant Links
          • 3 Curiosity Nano
            • 31 On-Board Debugger Overview
              • 311 Debugger
              • 312 Virtual Serial Port (CDC)
                • 3121 Overview
                • 3122 Operating System Support
                • 3123 Limitations
                • 3124 Signaling
                • 3125 Advanced Use
                  • 313 Mass Storage Device
                    • 3131 Mass Storage Device Implementation
                    • 3132 Configuration Words
                    • 3133 Special Commands
                      • 314 Data Gateway Interface (DGI)
                        • 3141 Debug GPIO
                        • 3142 Timestamping
                            • 32 Curiosity Nano Standard Pinout
                            • 33 Power Supply
                              • 331 Target Regulator
                              • 332 External Supply
                              • 333 VBUS Output Pin
                              • 334 Power Supply Exceptions
                                • 34 Low Power Measurement
                                • 35 Programming External Microcontrollers
                                  • 351 Supported Devices
                                  • 352 Software Configuration
                                  • 353 Hardware Modifications
                                  • 354 Connecting to External Microcontrollers
                                    • 36 Connecting External Debuggers
                                      • 4 Hardware User Guide
                                        • 41 Connectors
                                          • 411 PIC16F18446 Curiosity Nano Pinout
                                          • 412 Using Pin Headers
                                            • 42 Peripherals
                                              • 421 LED
                                              • 422 Mechanical Switch
                                              • 423 Crystal
                                              • 424 On-Board Debugger Implementation
                                                • 4241 On-Board Debugger Connections
                                                  • 5 Hardware Revision History and Known Issues
                                                    • 51 Identifying Product ID and Revision
                                                    • 52 DAC pin limitations
                                                    • 53 Revision 8
                                                    • 54 Revision 7
                                                    • 55 Revision 5
                                                      • 6 Document Revision History
                                                      • 7 Appendix
                                                        • 71 Schematic
                                                        • 72 Assembly Drawing
                                                        • 73 Curiosity Nano Base for Click boardstrade
                                                        • 74 Disconnecting the On-board Debugger
                                                          • The Microchip Website
                                                          • Product Change Notification Service
                                                          • Customer Support
                                                          • Microchip Devices Code Protection Feature
                                                          • Legal Notice
                                                          • Trademarks
                                                          • Quality Management System
                                                          • Worldwide Sales and Service

Recommended