30
PIC16F18446 Curiosity Nano PIC16F18446 Curiosity Nano Hardware User Guide Preface The PIC16F18446 Curiosity Nano Evaluation Kit is a hardware platform to evaluate the PIC16F18446 microcontroller (MCU). Supported by MPLAB ® X IDE Integrated Development Environment (IDE), the kit 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 kits include an on-board debugger. No external tools are necessary to program and debug the PIC16F18446. © 2019 Microchip Technology Inc. User Guide DS50002808B-page 1

Microchip Technology - PIC16F18446 Curiosity Nano Hardware …ww1.microchip.com/downloads/en/DeviceDoc/50002808B.pdf · 2019-10-08 · PIC16F18446 Curiosity Nano PIC16F18446 Curiosity

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

  • PIC16F18446 Curiosity Nano PIC16F18446 Curiosity Nano Hardware User Guide

    PrefaceThe PIC16F18446 Curiosity Nano Evaluation Kit is a hardware platform to evaluate the PIC16F18446 microcontroller(MCU).

    Supported by MPLAB® X IDE Integrated Development Environment (IDE), the kit provides easy access to thefeatures of the PIC16F18446 to explore how to integrate the device into a custom design.

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

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 1

  • Table of Contents

    Preface...........................................................................................................................................................1

    1. Introduction............................................................................................................................................. 4

    1.1. Features....................................................................................................................................... 41.2. Kit Overview................................................................................................................................. 4

    2. Getting Started........................................................................................................................................ 5

    2.1. Curiosity Nano Quick Start MPLAB® Xpress............................................................................... 52.2. Curiosity Nano Quick Start...........................................................................................................52.3. Design Documentation and Relevant Links................................................................................. 5

    3. Curiosity Nano.........................................................................................................................................7

    3.1. On-board Debugger..................................................................................................................... 73.2. Curiosity Nano Standard Pinout.................................................................................................103.3. Power Supply............................................................................................................................. 103.4. Target Current Measurement..................................................................................................... 133.5. Disconnecting the On-Board Debugger..................................................................................... 14

    4. Hardware User Guide........................................................................................................................... 16

    4.1. Connectors.................................................................................................................................164.2. Peripherals................................................................................................................................. 174.3. On-Board Debugger Implementation......................................................................................... 18

    5. Hardware Revision History and Known Issues..................................................................................... 20

    5.1. Identifying Product ID and Revision........................................................................................... 205.2. DAC pin limitations.....................................................................................................................205.3. Revision 7...................................................................................................................................205.4. Revision 5...................................................................................................................................20

    6. Document Revision History...................................................................................................................22

    7. Appendix............................................................................................................................................... 23

    7.1. Schematic...................................................................................................................................237.2. Assembly Drawing......................................................................................................................257.3. Curiosity Nano Base for Click boards™...................................................................................... 267.4. Connecting External Debuggers................................................................................................ 27

    The Microchip Website.................................................................................................................................28

    Product Change Notification Service............................................................................................................28

    Customer Support........................................................................................................................................ 28

    Microchip Devices Code Protection Feature................................................................................................ 28

    Legal Notice................................................................................................................................................. 28

    Trademarks.................................................................................................................................................. 29

    Quality Management System....................................................................................................................... 29

    PIC16F18446 Curiosity Nano

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 2

  • Worldwide Sales and Service.......................................................................................................................30

    PIC16F18446 Curiosity Nano

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 3

  • 1. Introduction

    1.1 Features• PIC16F18446-I/GZ Microcontroller• One Yellow User LED• One Mechanical User Switch• One 32.768 kHz Crystal• On-Board Debugger:

    – Board identification in MPLAB® X IDE– One green power and status LED– Programming and debugging– Virtual COM port (CDC)– One logic analyzer channel (DGI GPIO)

    • USB Powered• Adjustable Target Voltage:

    – MIC5353 LDO regulator controlled by the on-board debugger– 2.3 - 5.1 V output voltage (limited by USB input voltage)– 500 mA maximum output current (limited by ambient temperature and output voltage)

    1.2 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 Debugger

    Power/Status LED

    32.768 kHz Crystal

    User LED (LED0)

    User Switch (SW0)

    PIC16F18446 MCU

    PIC16F18446 Curiosity NanoIntroduction

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 4

  • 2. Getting Started

    2.1 Curiosity Nano Quick Start MPLAB® XpressSteps to start exploring the Curiosity Nano platform with MPLAB Xpress:

    1. Go to https://mplabxpress.microchip.com, and open MPLAB Xpress.2. Create a new stand-alone project for PIC16F18446.3. Use the MPLAB Xpress Code Configurator, or write your own code.4. Compile and download your application HEX file.5. Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the debug USB port on the

    kit.6. Copy the application HEX file into the CURIOSITY mass storage drive to program the application into the

    PIC16F18446.

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

    2.2 Curiosity Nano Quick StartSteps to start exploring the Curiosity Nano platform:

    1. Download MPLAB® X IDE.2. Launch MPLAB® X IDE.3. Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the debug USB port on the

    kit.

    When the Curiosity Nano kit is connected to your computer for the first time, the operating system will perform adriver software installation. The driver file supports both 32- and 64-bit versions of Microsoft® Windows® XP,Windows Vista®, Windows 7, Windows 8, and Windows 10. The drivers for the kit are included with MPLAB® X IDE.

    Once the Curiosity Nano board is powered, the green status LED will be lit and MPLAB® X IDE will auto-detect whichCuriosity Nano board is connected. MPLAB® X IDE will present relevant information like data sheets and kitdocumentation. The PIC16F18446 device is programmed and debugged by the on-board debugger and therefore noexternal programmer or debugger tool is required.

    2.3 Design Documentation and Relevant LinksThe following list contains links to the most relevant documents and software for the PIC16F18446 Curiosity Nano.

    • MPLAB® X IDE - MPLAB® X IDE is a software program that runs on a PC (Windows®, Mac OS®, Linux®) todevelop applications for Microchip microcontrollers and digital signal controllers. It is called an IntegratedDevelopment Environment (IDE) because it provides a single integrated “environment” to develop code forembedded microcontrollers.

    • MPLAB® Xpress Cloud-based IDE - MPLAB® Xpress Cloud-Based IDE is an online development environmentthat contains the most popular features of our award-winning MPLAB X IDE. This simplified and distilledapplication is a faithful reproduction of our desktop-based program, which allows users to easily transitionbetween the two environments.

    • MPLAB® 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.

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

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

    • PIC16F18446 Curiosity Nano website - Kit information, latest user guide and design documentation.

    PIC16F18446 Curiosity NanoGetting Started

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 5

    https://www.microchip.com/mplab/mplab-x-idehttps://www.microchip.com/mplab/mplab-xpresshttps://www.microchip.com/mplab/mplab-code-configuratorhttps://www.microchip.com/samples/default.aspxhttps://www.microchip.com/mplab/avr-support/data-visualizerhttp://www.microchip.com/DevelopmentTools/ProductDetails.aspx?PartNO=DM164144

  • • PIC16F18446 Curiosity Nano on microchipDIRECT - Purchase this kit on microchipDIRECT.

    PIC16F18446 Curiosity NanoGetting Started

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 6

    http://www.microchipdirect.com/ProductSearch.aspx?Keywords=DM164144

  • 3. Curiosity NanoCuriosity Nano is an evaluation platform of small boards with access to most of the microcontrollers I/Os. Theplatform consists of a series of low pin count microcontroller (MCU) boards with on-board debuggers, which areintegrated with MPLAB® X IDE. Each board is identified in the IDE, and relevant user guides, application notes, datasheets, and example code are easy to find. The on-board debugger features a Virtual COM port (CDC) for serialcommunication to a host PC, and a Data Gateway Interface (DGI) GPIO logic analyzer pin.

    3.1 On-board DebuggerThe PIC16F18446 Curiosity Nano contains an on-board debugger for programming and debugging. The on-boarddebugger is a composite USB device of several interfaces: A debugger, a mass storage device, a data gateway, anda Virtual COM port (CDC).

    Together with MPLAB® X IDE, the on-board debugger can program and debug the PIC16F18446.

    A Data Gateway Interface (DGI) is available for use with the logic analyzer channels for code instrumentation tovisualize the program flow. DGI GPIOs can be graphed using the Data Visualizer.

    The Virtual COM port (CDC) is connected to a Universal Asynchronous Receiver/Transmitter (UART) on thePIC16F18446 and provides an easy way to communicate with the target application through terminal software.

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

    Table 3-1. On-Board Debugger LED Control

    Operation Mode Status LED

    Boot Loader mode LED blink at 1 Hz during power-up.

    Power-up LED is ON.

    Normal operation LED is ON.

    Programming Activity indicator: The LED flashes slowly during programming/debugging.

    Fault The LED flashes fast if a power fault is detected.

    Sleep/Off LED is OFF. The on-board debugger is either in Sleep mode or powered down. Thiscan occur if the kit is externally powered.

    3.1.1 Virtual COM Port (CDC)The Virtual COM port (CDC) is a general purpose serial bridge between a host PC and a target device.

    3.1.1.1 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 COM port. The CDC can be used to stream arbitrary data inboth directions between the host and the target: All characters sent from the host will be sent through a UART on theCDC TX pin, and UART characters sent into the CDC RX pin will be sent back to the host through the Virtual COMport.

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

    On Linux machines, the CDC will enumerate and appear as /dev/ttyACM#.On MAC machines, the CDC will enumerate and appear as /dev/tty.usbmodem#. Depending on which terminalprogram is used, it will appear in the available list of modems as usbmodem#.

    PIC16F18446 Curiosity NanoCuriosity Nano

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 7

    https://www.microchip.com/mplab/avr-support/data-visualizer

  • Info:  On older Windows systems, a USB driver is required for CDC. This driver is included in MPLAB XIDE and Atmel Studio installations.

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

    • Baud rate: Must be in the range 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.

    • Character format: Only 8-bit characters are supported.• Parity: Can be odd, even, or none.• Hardware flow control: Not supported.• Stop bits: One or two bits are supported.

    3.1.1.3 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. This is a virtual control signal implemented onthe USB interface, but not in hardware in the on-board debugger. Asserting DTR from the host will indicate to the on-board debugger that a CDC session is active, will enable its level shifters (if available) and start the CDC data sendand 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 out,but no further data will be accepted.

    Remember:  Enable to set up your terminal emulator to assert the DTR signal. Without it, the on-boarddebugger will not send or receive any data through its UART.

    3.1.1.4 Advanced Use

    CDC Override ModeIn normal operation, the on-board debugger is a true UART bridge between the host and the device. However, undercertain use cases, the on-board debugger can override the basic operating mode and use the CDC pins for otherpurposes.

    Dropping a text file (with extension .txt) into the on-board debugger’s mass storage drive can be used to sendcharacters out of the CDC TX pin. The text file must start with the characters:CMD:SEND_UART=

    The maximum message length is 50 characters - 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, thebaud rate last used still applies.

    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 CDC TX pin. Transferring a small amount of data perframe can be inefficient, particularly at low baud rates, since the on-board debugger buffers frames and not bytes. Amaximum of 4 x 64-byte frames can be active at any time. The on-board debugger will throttle the incoming framesaccordingly. Sending full 64-byte frames containing data is the most efficient.

    PIC16F18446 Curiosity NanoCuriosity Nano

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 8

  • When receiving data from the target, the on-board debugger will queue up the incoming bytes into 64-byte frames,which are sent to the USB queue for transmission to the host when they are full. Incomplete frames are also pushedto the USB queue at approximately 100 ms intervals, triggered by USB start-of-frame tokens. Up to 8 x 64-byteframes 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 happens,the 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.

    3.1.2 Mass Storage DiskA simple way to program the target device is through drag and drop with .hex files.

    3.1.2.1 Mass Storage DeviceThe on-board debugger implements a highly optimized variant of the FAT12 file system that has a number oflimitations, partly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embeddedapplication.

    The CURIOSITY drive is USB Chapter 9-compliant as a mass storage device but does not, in any way, fulfill theexpectations of a general purpose mass storage device. This behavior is intentional.

    The on-board debugger enumerates as a Curiosity Nano USB device that can be found in the disk drives section ofthe Windows device manager. The CURIOSITY drive appears in the file manager and claims the next available driveletter in the system.

    The CURIOSITY drive contains approximately one MB of free space. This does not reflect the size of the targetdevice’s Flash in any way. When programming a .hex file, the binary data are encoded in ASCII with metadataproviding 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 system’s view of the directory, which in reality, has not beenupdated. It is not possible to read out the file contents. Removing and replugging the kit will return the file system toits 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 “CMD:ERASE” 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:

    • AUTORUN.ICO - icon file for the Microchip logo• AUTORUN.INF - system file required for Windows Explorer to show the icon file• KIT-INFO.HTM - redirect to the development board website• KIT-INFO.TXT - a text file containing details about the kit firmware, name, serial number, and device• STATUS.TXT - a text file containing the programming status of the board

    Info:  STATUS.TXT is dynamically updated by the on-board debugger, the contents may be cached by theOS and therefore not reflect the correct status.

    3.1.2.2 Configuration Words

    Configuration Words (PIC® 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.

    PIC16F18446 Curiosity NanoCuriosity Nano

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 9

  • 3.2 Curiosity Nano Standard PinoutThe twelve edge connections closest to the USB connector on Curiosity Nano kits have a standardized pinout. Theprogram/debug pins have different functions depending on the target programming interface as shown in the tableand figure below.

    Table 3-2. Curiosity Nano Standard Pinout

    Debugger Signal ICSPTM Target Description

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

    DBG1 ICSPCLK Debug clock line/DGI GPIO

    DBG2 GPIO0 DGI GPIO

    DBG3 MCLR Reset line

    NC - No connect

    VBUS - VBUS voltage for external use

    VOFF - Voltage Off input

    VTG - Target voltage

    GND - Common ground

    Figure 3-1. Curiosity Nano Standard Pinout

    USB

    DEBUGGER

    PS LEDNC

    NC

    ID

    ID

    CDC RX

    CDCRX

    CDC TX

    CDCTX

    DBG1

    DBG

    1

    DBG2

    DBG

    2

    VBUS

    VBU

    S

    VOFF

    VO

    FF

    DBG3

    DBG

    3

    DBG0

    DBG

    0

    GND

    GN

    D

    VTG

    VTGCURIOSITY NANO

    3.3 Power SupplyThe kit is powered through the USB port and contains two LDO regulators, one to generate 3.3V 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 4.4V to 5.25V (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

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 10

  • Figure 3-2. Power Supply Block Diagram

    USBTarget MCU

    Power source

    Cut strap

    Power consumer P3V3 DEBUGGERPower converter

    DEBUGGERRegulator

    VUSB

    TargetRegulator

    Power Supply strap

    Adjust

    Level shifter

    VLVLVREG

    I/O I/O GPIOstraps

    I/O

    On/OffMeasure On/Off

    ID system#VOFF

    PTC Fuse

    Power protection

    VBUS

    Target Power strap

    VTG

    3.3.1 Target RegulatorThe target voltage regulator is a MIC5353 variable output LDO. The on-board debugger can adjust the voltage outputsupplied to the kit target section by manipulating the MIC5353’s feedback voltage. The hardware implementation islimited to an approximate voltage range from 1.7V to 5.1V. 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 are 2.3 - 5.1V.

    Info:  The target voltage is set to 3.3V in production. It can be changed through MPLAB X IDE projectproperties. Any change to the target voltage is persistent, even through a power toggle.

    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 mA.The maximum current load depends on the input voltage, the selected output voltage, and the ambient temperature.The figure below shows the safe operating area for the regulator, with an input voltage of 5.1V and an ambienttemperature of 23°C.

    PIC16F18446 Curiosity NanoCuriosity Nano

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 11

  • Figure 3-3. Target Regulator Safe Operation Area

    3.3.2 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 regulator,and it is safe to apply an external voltage to the VTG pin.

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

    WARNINGAbsolute maximum external voltage is 5.5V for the on-board level shifters, and the standard operatingcondition of the PIC16F18446 is 2.3 - 5.5 V. Applying a higher voltage may cause permanent damage tothe kit.

    Programming, debugging, and data streaming are still possible with an external power supply: 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.

    3.3.3 VBUS Output PinPIC16F18446 Curiosity Nano has a VBUS output pin which can be used to power external components that need a5V supply. The VBUS output pin has a PTC fuse to protect the USB against short circuits. A side effect of the PTCfuse is a voltage drop on the VBUS output with higher current loads. The chart below shows the voltage versus thecurrent load of the VBUS output.

    PIC16F18446 Curiosity NanoCuriosity Nano

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 12

  • Figure 3-4. VBUS Output Voltage vs. Current

    3.4 Target Current MeasurementPower to the PIC16F18446 is connected from the on-board power supply and VTG pin through a 100-mil pin headercut Target Power strap marked with “POWER” in silkscreen (J101). To measure the power consumption of thePIC16F18446 and other peripherals connected to the board, cut the Target Power strap and connect an ammeterover the strap.

    Figure 3-5. 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 not needed anymore, place a jumper-cap on the pinheader.

    PIC16F18446 Curiosity NanoCuriosity Nano

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 13

  • Info:  The on-board level shifters will draw a small amount of current even when they are not in use. Amaximum of 10 µA can be drawn from the target power net, and an additional 2 µA can be drawn fromeach I/O pin connected to a level shifter for a total of 20 µA. Disconnect the on-board debugger and levelshifters as described in Section 3.5 Disconnecting the On-Board Debugger and keep any I/O pinconnected to a level shifter in tri-state to prevent leakage.

    3.5 Disconnecting the On-Board DebuggerThe block diagram below shows all connections between the debugger and the PIC16F18446 microcontroller. Therounded boxes represent connections to the board edge on PIC16F18446 Curiosity Nano. The signal names shownin Figure 3-1 are printed in silkscreen on the bottom side of the board.

    Figure 3-6.  On-Board Debugger Connections to the PIC16F18446

    DEB

    UG

    GER

    TARGETLevel-Shift

    PA04/PA06PA07PA08PA16PA00PA01

    USB

    DIR x 5

    VCC_P3V3

    VBUS

    VCC

    _LEV

    EL

    VCC

    _TA

    RGET

    DBG0DBG1DBG2DBG3CDC 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

    By cutting the GPIO straps with a sharp tool, as shown in Figure 3-7, all I/Os connected between the debugger andthe PIC16F18446 are completely disconnected. To completely disconnect the target regulator and level shifter powerfrom the target, cut the Power Supply strap (J100) as shown in Figure 3-7.

    Info:  Cutting the connections to the debugger will disable programming, debugging, data streaming, andthe target power supply. The signals will also be disconnected from the board edge next to the on-boarddebugger section.

    Tip:  Solder in 0Ω resistors across the footprints or short-circuit them with tin solder to reconnect any cutsignals.

    PIC16F18446 Curiosity NanoCuriosity Nano

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 14

  • Figure 3-7. Kit Modifications

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

    PIC16F18446 Curiosity NanoCuriosity Nano

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 15

  • 4. Hardware User Guide

    4.1 Connectors

    4.1.1 PIC16F18446 Curiosity Nano PinoutAll the PIC16F18446 I/O pins are accessible at the edge connectors on the board. The image below shows the kitpinout.

    Figure 4-1. PIC16F18446 Curiosity Nano Pinout

    USB

    DEBUGGER

    PIC16F18446

    SW0

    LED0

    PS LEDNC

    NC

    ID

    IDCDC RX

    CDC RXRB4

    CDC TXCD

    C TXRB6

    DBG1

    DBG

    1RA1ICSPCLK

    DBG2

    DBG

    2RA2LED0

    RB4

    RB4TX

    RB6

    RB6RX

    RB5

    RB5SDA

    RB7

    RB7SCL

    RC5

    RC5MOSI

    RC4

    RC4MISO

    RC6

    RC6SCK

    RC7

    RC7SS

    GND

    GN

    D

    VBUS

    VBU

    S

    VOFF

    VO

    FF

    DBG3

    DBG

    3 RA3 MCLR

    DBG0

    DBG

    0 RA0 ICSPDAT

    GND

    GN

    D

    VTG

    VTG

    RA5

    RA5 ANA5 SOSCI

    RA4

    RA4 ANA4 SOSCO

    RA2

    RA2 ANA2 LED0

    RA1

    RA1 ANA1 PWM7

    RC3

    RC3 ANC3 PWM6

    RC2

    RC2 ANC2 SW0

    RC1

    RC1 ANC1

    RC0

    RC0 ANC0

    GND

    GN

    D

    PIC16F18446CURIOSITY NANO

    Analog

    Debug

    I2C

    SPI

    UART

    Shared pinout

    Peripheral

    Port

    PWM

    Power

    Ground

    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 alteriative pins using the Peripheral Pin Select (PPS) feature in the PIC16F18446.

    4.1.2 Using Pin HeadersThe edge connector footprint on PIC16F18446 Curiosity Nano has a staggered design where each of the holes isshifted 8 mil (~0.2 mm) off center. The hole shift allows the use of regular 100-mil pin headers on the kit withoutsoldering. Once the pin headers are firmly in place, they can be used in normal applications like pin sockets andprototyping boards without any issues.

    Tip:  Start at one end of the pin header and gradually insert the header along the length of the board.Once all the pins are in place, use a flat surface to push them all the way in.

    PIC16F18446 Curiosity NanoHardware User Guide

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 16

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

    4.2 Peripherals

    4.2.1 LEDThere is one yellow user LED available on the PIC16F18446 Curiosity Nano kit that can be controlled by either GPIOor PWM. The LED can be activated by driving the connected I/O line to GND.

    Table 4-1. LED Connection

    PIC16F18446 Pin Function Shared Functionality

    RA2 Yellow LED0 Edge connector

    4.2.2 Mechanical SwitchThe PIC16F18446 Curiosity Nano has one mechanical switch. This is a generic user-configurable switch. When theswitch is pressed, it will drive the I/O line to ground (GND).

    Tip:  There is no externally connected pull-up resistor on the switch. To use the switch, make sure that 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

    4.2.3 CrystalThe PIC16F18446 Curiosity Nano board has a 32.768 kHz crystal mounted.

    The crystal is not connected to the PIC16F18446 by default, as the GPIOs are routed out to the edge connector. Touse the crystal, some hardware modifications are required. The two I/O lines routed to the edge connector should bedisconnected to reduce the chance of contention to the crystal, and to remove excessive capacitance on the lines.This can be done by cutting the two straps on the bottom side of the board, marked RA4 and RA5 as shown in thefigure below. Next, solder on a solder blob on each of the circular solder points next to the crystal on the top side ofthe board as shown in the figure below.

    The 32.768 kHz crystal on PIC16F18446 Curiosity Nano is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pFcrystal.

    The crystal has been formally tested and matched to the PIC16F18446 by Kyocera. The test report is available in thedesign documentation distributed with this document for PIC16F18446 Curiosity Nano.

    PIC16F18446 Curiosity NanoHardware User Guide

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 17

  • Info:  Kyocera Crystal Device Corporation crystals that are matched with specific products can be foundon their website: http://prdct-search.kyocera.co.jp/crystal-ic/?p=en_search/

    Table 4-3. Crystal Connections

    PIC16F18446 Pin Function Shared Functionality

    RA4 SOSCO (Crystal output) Edge connector

    RA5 SOSCI (Crystal input) Edge connector

    Figure 4-2. Crystal Connection and Cut Straps

    4.3 On-Board Debugger ImplementationPIC16F18446 Curiosity Nano features an on-board debugger that can be used to program and debug thePIC16F18446 using In-Circuit Serial Programming™ (ICSP™). The on-board debugger also includes a Virtual COMport (CDC) interface over UART and DGI GPIO. MPLAB® X IDE can be used as a front-end for the on-boarddebugger for programming and debugging. Data Visualizer can be used as a front-end for the CDC and DGI GPIO.

    4.3.1 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, there is littlecontamination 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 Section 3. Curiosity Nano.

    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

    RA1 DBG1 ICSP CLK Edge connector

    RA2 DBG2 GPIO LED and Edge connector

    RA3 DBG3 MCLR

    PIC16F18446 Curiosity NanoHardware User Guide

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 18

    http://prdct-search.kyocera.co.jp/crystal-ic/?p=en_search/https://www.microchip.com/mplab/avr-support/data-visualizer

  • ...........continuedPIC16F18446

    PinDebugger Pin Function Shared Functionality

    VCC_TARGET VCC_LEVEL 2.3 - 5.1 V Supply voltage

    GND GND Common ground

    PIC16F18446 Curiosity NanoHardware User Guide

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 19

  • 5. Hardware Revision History and Known IssuesThis user guide provides the latest available revision of the kit. This section contains information about known issues,a revision history of older revisions, and how older revisions differ from the latest revision.

    5.1 Identifying Product ID and RevisionThe revision and product identifier of the PIC16F18446 Curiosity Nano can be found in two ways; either throughMPLAB® X IDE or by looking at the sticker on the bottom side of the PCB.

    By connecting a PIC16F18446 Curiosity Nano to a computer with MPLAB® X IDE running, an information window willpop up. The first six digits of the serial number, which is listed under kit details, contain the product identifier andrevision.

    The same information can be found on the sticker on the bottom side of the PCB. Most kits will print the identifier andrevision in plain text as A09-nnnn\rr, where “nnnn” is the identifier and “rr” is the revision. The boards with limitedspace have a sticker with only a QR code, containing the product identifier, revision and the serial number.

    The serial number string has the following format:

    "nnnnrrssssssssss"

    n = product identifier

    r = revision

    s = serial number

    The product identifier for PIC16F18446 Curiosity Nano is A09-3120.

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

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

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

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

    Revision 5 does not have the Target Power strap described in 3.4 Target Current Measurement, instead current canbe measured across the Power Suppl strap as described in 3.5 Disconnecting the On-Board Debugger.

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

    PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 20

  • Figure 5-1. PIC16F18446 Curiosity Nano Revision 5 with assembly drawing

    PIC®MCUb

    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

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

    PIC16F18446 Curiosity NanoHardware Revision History and Known Issues

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 21

  • 6. Document Revision HistoryDoc. rev. Date Comment

    B 10/2019 Added hardware revision 7.

    A 10/2018 Initial document release.

    PIC16F18446 Curiosity NanoDocument Revision History

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 22

  • 7. Appendix

    7.1 SchematicFigure 7-1. PIC16F18446 Curiosity Nano Schematic

    11

    22

    33

    44

    55

    66

    77

    88

    DD

    CC

    BB

    AA

    3 of

    4

    PIC1

    6F18

    446

    Curio

    sity

    Nan

    o

    29/0

    8/20

    19PI

    C16F

    1844

    6_C

    urio

    sity

    _Nan

    o_Ta

    rget

    _MCU

    .Sch

    Doc

    Proj

    ect T

    itle

    PCB

    Ass

    embl

    y N

    umbe

    r:PC

    BA R

    evisi

    on:

    File

    :PC

    B N

    umbe

    r:PC

    B Re

    visio

    n:

    Des

    igne

    d wi

    th

    Dra

    wn

    By:

    Mic

    roch

    ip N

    orw

    ay

    Shee

    t Titl

    eTa

    rget

    MCU

    Engi

    neer

    :H

    N

    A08

    -286

    36

    Size

    A3

    A09

    -312

    07

    Page

    :D

    ate:A

    ltium

    .com

    32.7

    68kH

    z

    Kyo

    cera

    Cor

    pora

    tion

    ST32

    15SB

    3276

    8C0H

    PWBB

    XC2

    00

    5pF

    C203

    5pF

    C204

    GN

    D

    GN

    DV

    CC_T

    ARG

    ET10

    0n

    C200

    GN

    D

    32kH

    z C

    ryst

    al

    DBG0

    CDC_

    UART

    TXRXU

    ART

    1kR203

    USE

    R L

    ED

    VCC

    _TA

    RGET

    GN

    D

    USE

    R B

    UTT

    ON

    1kR202

    YELLOWLEDSML-D12Y1WT86

    2 1D200

    TS604VM1-035CR13

    4 2

    SW20

    0

    CDC_TXCDC_RX

    DBG2

    GN

    DV

    CC_E

    DG

    E

    GN

    DG

    ND

    DBG1

    DBG3

    DBG2

    DEB

    UG

    GER

    CO

    NN

    ECTI

    ON

    S

    10kR200

    VCC

    _TA

    RGET

    DBG1

    DBG3

    J209

    DBG0

    PIC

    16F1

    8446

    ICSP

    DA

    T

    ICSP

    CLK

    GPI

    O0

    MCL

    R

    DBG

    0

    DBG

    1

    DBG

    2

    DBG

    3

    Deb

    ugge

    r

    CD

    C T

    X

    CD

    C R

    X

    UA

    RT R

    X

    UA

    RT T

    X

    PIC1

    6F18

    446

    RA3_

    MCL

    RRA

    1_IC

    SPCL

    K_A

    NA

    1

    J210

    J211 XOUT

    XIN

    RA3/

    MCLR

    /VPP

    1RC

    52

    RC4

    3RC

    34

    RC6

    5

    RC7 6RB7 7RB6 8RB5 9RB4 10

    RC2

    11RC

    112

    RC0

    13RA

    214

    ICSP

    CLK/

    RA1

    15

    ICSPDAT/RA016 VSS17 VDD18 RA519 RA420

    PAD

    21

    PIC1

    6F18

    446-

    I/GZ

    U20

    0

    GN

    D

    2.2u

    FC2

    05

    VCC

    _ED

    GE

    GN

    D

    RA0_ICSPDATRC

    0_A

    NC0

    RC1_

    AN

    C1RC

    2_A

    NC2

    _SW

    RC3_

    AN

    C3RC

    4_SP

    I_M

    ISO

    RC5_

    SPI_

    MO

    SI

    RC6_

    SPI_

    SCK

    RC7_SPI_SS

    RA2_

    AN

    A2_

    LED

    RA4_ANA4_SOSCORA5_ANA5_SOSCI

    RB4_UART_TXRB5_I2C_SDARB6_UART_RXRB7_I2C_SCL

    RA4_ANA4_SOSCO

    RA5_ANA5_SOSCI

    RA2_ANA2_LED

    RB4_

    UA

    RT_T

    XRB

    6_U

    ART

    _RX

    RB5_

    I2C_

    SDA

    RB7_

    I2C_

    SCL

    RC4_

    SPI_

    MIS

    ORC

    5_SP

    I_M

    OSI

    RC6_

    SPI_

    SCK

    RC7_

    SPI_

    SSRC

    0_A

    NC0

    RC1_

    AN

    C1RC

    2_A

    NC2

    _SW

    RC3_

    AN

    C3RA

    1_IC

    SPCL

    K_A

    NA

    1RA

    2_A

    NA

    2_LE

    DRA

    4_A

    NA

    4_SO

    SCO

    RA5_

    AN

    A5_

    SOSC

    I

    RA1_

    ICSP

    CLK

    _AN

    A1

    RA0_

    ICSP

    DA

    TRA

    3_M

    CLR

    RA2_

    AN

    A2_

    LED

    RB4_

    UA

    RT_T

    XRB

    6_U

    ART

    _RX

    J207

    J208

    TAR

    GET

    BU

    LK

    RC2_ANC2_SW

    PRO

    G/D

    EBU

    G P

    ull

    47kR204

    47kR205

    GN

    D

    VTG

    2.3V

    - 5.

    5V

    VOFF

    ID_S

    YS

    ID_SYS

    VOFF

    DBG

    0D

    BG1

    CDC

    RX3

    CDC

    TX4

    DBG

    15

    DBG

    26

    0 TX

    71

    RX8

    2 SD

    A9

    3 SC

    L10

    4 M

    OSI

    115

    MIS

    O12

    6 SC

    K13

    7 SS

    14G

    ND

    15

    DBG

    328

    DBG

    027

    GN

    D26

    VCC

    25

    PWM

    320

    AD

    C 2

    19A

    DC

    118

    AD

    C 0

    17G

    ND

    16

    AD

    C 7

    24A

    DC

    623

    AD

    C 5

    22PW

    M 4

    21

    DEB

    UG

    GER

    TARG

    ET

    ID2

    VO

    FF29

    RESE

    RVED

    1V

    BUS

    30

    CNA

    NO

    30-p

    in e

    dge

    conn

    ecto

    r

    J200

    VBU

    S

    J201

    J203

    J205

    J206

    J202

    J204

    NC

    RA

    1

    RA

    2

    RA

    3

    RA

    0

    RB4

    RB6

    Nam

    ePi

    n

    Crys

    tal d

    atas

    heet

    :Cc

    rysta

    l = 7

    pFm

    ax E

    SR =

    70k

    Ohm

    Acc

    urac

    y ±2

    0ppm

    PIC1

    6F18

    446

    data

    shee

    t:Cx

    in =

    5pF

    (esti

    mat

    e)Cx

    out =

    5pf

    (esti

    mat

    e)M

    axim

    um L

    oad

    = ?

    Max

    imum

    ESR

    = ?

    Estim

    ated

    Cpc

    b =

    2pF

    Estim

    ated

    load

    C =

    2 (C

    crys

    tal-

    Cpar

    a - C

    pcb)

    C

    = 2

    (7pF

    - 2.

    5pF

    - 2pF

    )C

    = 5p

    F

    Sele

    cted

    in d

    esig

    nC

    = 5p

    F

    NO

    TE o

    n U

    ART

    /CD

    C:

    RX/T

    X o

    n th

    e he

    ader

    den

    otes

    the

    inpu

    t/out

    put d

    irect

    ion

    of th

    e sig

    nal

    resp

    ectiv

    e to

    it's

    sour

    ce.

    CDC

    TX is

    out

    put f

    rom

    the

    DEB

    UG

    GER

    .CD

    C RX

    is in

    put t

    o th

    e D

    EBU

    GG

    ER.

    TX is

    out

    put f

    rom

    the

    TARG

    ET d

    evic

    e.RX

    is in

    put t

    o th

    e TA

    RGET

    dev

    ice.

    NO

    TE o

    n I2

    C:

    No

    pull-

    ups o

    n bo

    ard.

    Pul

    l-ups

    shou

    ld b

    e m

    ount

    ed c

    lose

    to sl

    ave

    devi

    ce(s

    ).

    PIC16F18446 Curiosity NanoAppendix

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 23

  • 11

    22

    33

    44

    55

    66

    77

    88

    DD

    CC

    BB

    AA

    2 of

    4

    PIC1

    6F18

    446

    Curi

    osity

    Nan

    o

    24.0

    4.20

    19PI

    C16F

    1844

    6_C

    urio

    sity

    _Nan

    o_D

    EBU

    GG

    ER.S

    chD

    oc

    Proj

    ect T

    itle

    PCB

    Ass

    embl

    y N

    umbe

    r:PC

    BA R

    evisi

    on:

    File

    :PC

    B N

    umbe

    r:PC

    B Re

    visio

    n:

    Des

    igne

    d wi

    th

    Dra

    wn

    By:

    Mic

    roch

    ip N

    orw

    ay

    Shee

    t Titl

    eD

    ebug

    ger

    Engi

    neer

    :H

    N

    A08

    -286

    36

    Size

    A3

    A09

    -312

    07

    Page

    :D

    ate:A

    ltium

    .com

    DEB

    UG

    GER

    USB

    MIC

    RO

    -B C

    ON

    NEC

    TOR

    GN

    D

    USB

    D_P

    USB

    D_N

    100n

    C107

    100n

    C108

    RXTXU

    ART

    CDC_

    UART

    1kR1

    07V

    CC_P

    3V3

    100n

    C104

    GN

    D

    SRST

    STA

    TUS_

    LED

    SHIE

    LD

    VBU

    S

    VCC

    _P3V

    3G

    ND

    TP10

    0

    Testp

    oint

    Arra

    y

    12

    34

    56

    78

    910

    TCK

    TDO

    TMS

    Vsu

    pTD

    IG

    ND

    TRST

    SRST

    VTr

    efG

    ND

    J102

    GN

    D

    4.7u

    F

    C100

    DBG0

    DBG

    0

    21

    GRE

    EN L

    EDSM

    L-P1

    2MTT

    86R

    D10

    0

    VBUS

    1D-

    2D+

    3

    GND

    5SH

    IELD

    16

    SHIE

    LD2

    7

    ID4

    SHIE

    LD3

    8SH

    IELD

    49 M

    U-M

    B014

    2AB2

    -269

    J105

    PAD

    33

    PA00

    1PA

    012

    PA02

    3PA

    034

    GND 10VDDANA 9

    PA04

    5PA

    056

    PA06

    7PA

    078

    PA08 11PA09 12PA10 13PA11 14PA14 15PA15 16

    PA16

    17PA

    1718

    PA18

    19PA

    1920

    PA22

    21US

    B_SO

    F/PA

    2322

    USB_

    DM/P

    A24

    23US

    B_DP

    /PA2

    524

    PA2725 RESETN26 PA2827 GND28 VDDCORE29 VDDIN30 SWDCLK/PA3031 SWDIO/PA3132

    SAM

    D21

    E18A

    -MU

    TU

    100

    VOUT

    1

    VOUT

    2

    GND 3

    EN4

    VIN

    6

    NC5

    EP 7

    MIC

    5528

    -3.3

    YM

    TU

    101

    VCC

    _P3V

    3

    GN

    D

    USB

    D_P

    USB

    D_N

    GN

    D

    1uC106

    VCC

    _MCU

    _CO

    RE

    VCC

    _P3V

    3

    VCC

    _P3V

    3

    2.2u

    FC1

    01

    GN

    D

    74LV

    C1T4

    5FW

    4-7

    VCCA

    1VC

    CB6

    A3

    GND

    2DI

    R5

    B4

    U10

    3V

    CC_P

    3V3

    GN

    D

    74LV

    C1T4

    5FW

    4-7

    VCCA

    1VC

    CB6

    A3

    GND

    2DI

    R5

    B4

    U10

    4V

    CC_P

    3V3

    GN

    D

    74LV

    C1T4

    5FW

    4-7

    VCCA

    1VC

    CB6

    A3

    GND

    2DI

    R5

    B4

    U10

    5V

    CC_P

    3V3

    GN

    D

    GN

    D GN

    D

    GN

    D

    VCC

    _ED

    GE

    GN

    D

    74LV

    C1T4

    5FW

    4-7

    VCCA

    1VC

    CB6

    A3

    GND

    2DI

    R5

    B4

    U10

    7V

    CC_P

    3V3

    GN

    DDB

    G2

    DBG

    3_CT

    RL

    S1_0

    _TX

    S1_1

    _RX

    S0_2

    _TX

    DA

    CV

    TG_A

    DC

    RESE

    RVED

    S0_3

    _CLK

    DBG0_CTRL

    CDC_

    TX_C

    TRL

    BOO

    T

    DEB

    UG

    GER

    PO

    WER

    /STA

    TUS

    LED

    EN1

    BYP

    6

    VOUT

    4

    GND

    2

    VIN

    3

    NC/A

    DJ5

    GND 7

    MIC

    5353

    U10

    2

    100n

    C102

    GN

    D

    GN

    D

    47kR101

    27kR104 G

    ND

    33k

    R106

    2.2u

    F

    C103 G

    ND

    1kR1

    08

    J100

    VCC

    _LEV

    ELV

    CC_R

    EGU

    LATO

    R

    74LV

    C1T4

    5FW

    4-7

    VCCA

    1VC

    CB6

    A3

    GND

    2DI

    R5

    B4

    U10

    6V

    CC_P

    3V3

    GN

    DDB

    G1

    CDC_

    RXCD

    C_TX

    DBG3

    DBG1_CTRL

    DEB

    UG

    GER

    REG

    ULA

    TOR

    REG_ENABLE

    REG

    _EN

    ABL

    E

    47kR103

    VCC

    _LEV

    EL

    VCC

    _LEV

    EL

    VCC

    _LEV

    EL

    VCC

    _LEV

    EL

    VCC

    _LEV

    EL

    47kR102

    47kR105

    SWCL

    K

    GN

    D

    47kR100 G

    ND

    DBG

    2

    S0_0

    _RX

    DBG

    1_CT

    RL

    DBG

    0_CT

    RL

    DBG

    3 O

    PEN

    DR

    AIN

    TAR

    GET

    AD

    JUST

    ABL

    E R

    EGU

    LATO

    R

    SRST

    DEB

    UG

    GER

    TES

    TPO

    INT

    DBG2_CTRL

    VO

    FFCD

    C_RX

    _CTR

    L

    47kR109

    DBG

    1

    CDC_

    TX_C

    TRL

    CDC_

    RX_C

    TRL

    SWCL

    K

    REG_ADJUST

    DBG2_GPIO

    DBG

    3_CT

    RL

    DBG

    2_CT

    RL

    UPD

    I

    UPD

    I

    GPI

    O

    GPI

    O

    RESE

    T

    Sign

    al

    DBG

    0

    DBG

    1

    DBG

    2

    DBG

    3

    ICSP

    Inte

    rface

    DA

    T

    CLK

    GPI

    O

    MCL

    R

    DBG

    3

    CD

    C T

    X

    CD

    C R

    X

    UA

    RT R

    X

    UA

    RT T

    X

    UA

    RT R

    X

    UA

    RT T

    X

    TAR

    GET

    TAR

    GET

    1kR1

    10

    VBUS_ADC

    1

    23

    DM

    N65

    D8L

    FBQ

    101

    VC

    C-

    -

    ID_S

    YS

    VOFF

    1kR112

    VCC

    _P3V

    3

    VTG

    _AD

    CD

    AC

    MIC

    9416

    3

    VIN

    B2VO

    UTA1

    VIN

    A2

    ENC2

    GND

    C1VO

    UTB1

    U10

    8

    GN

    D

    ID_S

    YS

    VTG

    _EN

    VTG_EN

    VBUS_ADC

    SWD

    IO

    ID_S

    YS

    TP10

    1G

    ND

    SWD

    IO

    VO

    FF

    47kR111 G

    ND

    ID P

    IN

    VCC

    _VBU

    S MC3

    6213

    F100

    VCC

    _VBU

    S

    VCC

    _VBU

    S

    J101

    VCC

    _TA

    RGET

    AV

    R pr

    ogra

    mm

    ing

    conn

    ecto

    r for

    fact

    ory

    prog

    ram

    min

    g of

    D

    EBU

    GG

    ER.

    MIC

    5528

    :V

    in: 2

    .5V

    to 5

    .5V

    Vou

    t: Fi

    xed

    3.3V

    Imax

    : 500

    mA

    Dro

    pout

    : 260

    mV

    @ 5

    00m

    A

    MIC

    5353

    :V

    in: 2

    .6V

    to 6

    VV

    out:

    1.25

    V to

    5.1

    VIm

    ax: 5

    00m

    AD

    ropo

    ut (t

    ypic

    al):

    50m

    V@

    150m

    A,1

    60m

    V @

    500

    mA

    Acc

    urac

    y: 2

    % in

    itial

    Ther

    mal

    shut

    dow

    n an

    d cu

    rrent

    lim

    it

    Max

    imum

    out

    put v

    olta

    ge is

    lim

    ited

    by th

    e in

    put v

    olta

    ge a

    nd th

    e dr

    opou

    t vol

    tage

    in th

    e re

    gula

    tor.

    (Vm

    ax =

    Vin

    - dr

    opou

    t)

    J100

    :Cu

    t-stra

    p us

    ed fo

    r ful

    l sep

    arat

    ion

    of ta

    rget

    pow

    er fr

    om th

    e le

    vel s

    hifte

    rs a

    nd o

    n-bo

    ard

    regu

    lato

    rs.

    - For

    cur

    rent

    mea

    sure

    men

    ts us

    ing

    an e

    xter

    nal p

    ower

    supp

    ly, t

    his s

    trap

    coul

    d be

    cut f

    or m

    ore

    accu

    rate

    mea

    sure

    men

    ts. L

    eaka

    ge b

    ack

    thro

    ugh

    the

    switc

    h is

    in th

    e m

    icro

    am

    pere

    rang

    e.

    J101

    :Th

    is is

    foot

    prin

    t for

    a 1

    x2 1

    00m

    il pi

    tch

    pin-

    head

    er th

    at c

    an b

    e us

    ed fo

    r eas

    y cu

    rrent

    mea

    sure

    men

    t to

    the

    targ

    et m

    icro

    cont

    rolle

    r and

    the

    LED

    / Bu

    tton.

    To

    use

    the

    foot

    prin

    t:- C

    ut th

    e tra

    ck b

    etw

    een

    the

    hole

    s, an

    d m

    ount

    a p

    in-h

    eade

    r

    Adj

    usta

    ble

    outp

    ut a

    nd li

    mita

    tions

    :- T

    he D

    EBU

    GG

    ER c

    an a

    djus

    t the

    out

    put v

    olta

    ge o

    f the

    regu

    lato

    r bet

    wee

    n 1.

    25V

    and

    5.1

    V to

    the

    targ

    et.

    - The

    leve

    l shi

    fters

    hav

    e a

    min

    imal

    vol

    tage

    leve

    l of 1

    .65V

    and

    will

    lim

    it th

    e m

    inim

    um o

    pera

    ting

    volta

    ge a

    llow

    ed fo

    r the

    ta

    rget

    to st

    ill a

    llow

    com

    mun

    icat

    ion.

    - The

    out

    put s

    witc

    h ha

    s a m

    inim

    al v

    olat

    ege

    leve

    l of 1

    .70V

    and

    will

    lim

    it th

    e m

    inim

    um v

    olta

    ge d

    eliv

    ered

    to th

    e ta

    rget

    .- F

    irmw

    are

    conf

    igur

    atio

    n w

    ill li

    mit

    the

    volta

    ge ra

    nge

    to b

    e w

    ithin

    the

    the

    targ

    et sp

    ecifi

    catio

    n.- F

    irmw

    are

    feed

    back

    loop

    will

    adj

    ust t

    he o

    utpu

    t vol

    tage

    acc

    urac

    y to

    with

    in 0

    .5%

    .

    PTC

    Rese

    ttabl

    e fu

    se:

    Hol

    d cu

    rrent

    : 500

    mA

    Trip

    cur

    rent

    : 100

    0mA

    PIC16F18446 Curiosity NanoAppendix

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 24

  • 7.2 Assembly DrawingFigure 7-2. PIC16F18446 Curiosity Nano Assembly Drawing Top

    PIC®MCUb

    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

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 25

  • 7.3 Curiosity Nano Base for Click boards™Figure 7-4. PIC16F18446 Curiosity Nano Pinout Mapping

    USB

    DEB

    UG

    GER

    PIC1

    6F18

    446

    SW0

    LED

    0

    PS L

    EDNC

    NC

    ID

    ID

    CDC RX

    CDC RX

    RB4

    CDC TX

    CDC TX

    RB6

    DBG1

    DBG1

    RA1

    ICSPCLK

    DBG2

    DBG2

    RA2

    LED0

    RB4

    RB4

    TX

    RB6

    RB6

    RX

    RB5

    RB5

    SDA

    RB7

    RB7

    SCL

    RC5

    RC5

    MOSI

    RC4

    RC4

    MISO

    RC6

    RC6

    SCK

    RC7

    RC7

    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

    LED0

    RA1

    RA1

    ANA1

    PWM7

    RC3

    RC3

    ANC3

    PWM6

    RC2

    RC2

    ANC2

    SW0

    RC1

    RC1

    ANC1

    RC0

    RC0

    ANC0

    GND

    GND

    PIC1

    6F18

    446

    CURI

    OSI

    TY N

    AN

    O

    Analog

    Debug

    I2C

    SPI

    UART

    Shared pinout

    Peripheral

    Port

    PWM

    Power

    Ground

    1

    AN

    PWM

    RST

    INT

    CSRX

    SCK

    TXM

    ISO

    SCL

    MO

    SISD

    A+3

    .3V

    +5V

    GN

    DG

    ND

    2

    AN

    PWM

    RST

    INT

    CSRX

    SCK

    TXM

    ISO

    SCL

    MO

    SISD

    A+3

    .3V

    +5V

    GN

    DG

    ND

    3

    AN

    PWM

    RST

    INT

    CSRX

    SCK

    TXM

    ISO

    SCL

    MO

    SISD

    A+3

    .3V

    +5V

    GN

    DG

    ND

    Xpl

    aine

    d Pr

    o Ex

    tens

    ion

    EXT1

    12

    1920

    Curio

    sity

    Nan

    o Ba

    sefo

    r clic

    k bo

    ards

    TM

    RC0

    RC3

    RA5

    RA4

    RC7

    RB6

    RC6

    RB4

    RC4

    RB7

    RC5

    RB5

    +3.3V

    +5V

    GND

    GND

    RC1

    RA1

    RC6

    GND

    RC4

    RB7

    RC5

    RB5

    +3.3V

    +5V

    GND

    GND

    RC2

    RA2

    RB6

    RC6

    RB4

    RC4

    RB7

    RC5

    RB5

    +3.3V

    +5V

    GND

    GND

    ID

    GND

    RC1

    RC2

    RA1

    RA2

    RB5

    RB7

    GND

    RC5

    RC4

    RC6

    GND

    +3.3V

    PIC16F18446 Curiosity NanoAppendix

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 26

  • 7.4 Connecting External DebuggersEven though there is an on-board debugger, external debuggers can be connected directly to the PIC16F18446Curiosity Nano to program/debug 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.

    Figure 7-5. Connecting the MPLAB PICkit™ 4 In-Circuit Debugger/Programmer to PIC16F18446 CuriosityNano

    2345678 1

    MCLRVDD GroundDATACLOCK

    3 = Ground

    4 = PGD

    5 = PGC

    6 = Unused

    7 = Unused

    8 = Unused

    2 = VDD

    1 = MCLR

    MPLAB® PICkit™ 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 Debugger/Programmer 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 anyprogramming/debug operation with the on-board debugger through MPLAB® X IDE or mass storageprogramming while the external tool is active.

    PIC16F18446 Curiosity NanoAppendix

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 27

  • The Microchip WebsiteMicrochip provides online support via our website at http://www.microchip.com/. This website is used to make filesand information easily available to customers. Some of the content available includes:

    • Product Support – Data sheets and errata, application notes and sample programs, design resources, user’sguides and hardware support documents, latest software releases and archived software

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

    • Business of Microchip – 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 ServiceMicrochip’s 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 http://www.microchip.com/pcn and follow the registration instructions.

    Customer SupportUsers of Microchip products can receive assistance through several channels:

    • Distributor or Representative• Local Sales Office• Embedded Solutions Engineer (ESE)• 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: http://www.microchip.com/support

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

    • Microchip products meet the specification contained in their particular Microchip Data Sheet.• Microchip believes that its family of products is one of the most secure families of its kind on the market today,

    when used in the intended manner and under normal conditions.• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these

    methods, to our knowledge, require using the Microchip products in a manner outside the operatingspecifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft ofintellectual property.

    • Microchip is willing to work with the customer who is concerned about the integrity of their code.• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code

    protection does not mean that we are guaranteeing the product as “unbreakable.”

    Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protectionfeatures of our products. Attempts to break Microchip’s 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

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 28

    http://www.microchip.com/http://www.microchip.com/pcnhttp://www.microchip.com/support

  • your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHEREXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION,INCLUDING 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 and/or safety applications is entirely at the buyer’s risk, and the buyer agrees to defend,indemnify 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, BesTime,BitCloud, chipKIT, chipKIT logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, HELDO, IGLOO, JukeBlox,KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST,MOST logo, MPLAB, OptoLyzer, PackeTime, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer,QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon,TempTrackr, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip TechnologyIncorporated in the U.S.A. and other countries.

    APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, FlashTec, Hyper Speed Control,HyperLight Load, IntelliMOS, Libero, motorBench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus,ProASIC Plus logo, Quiet-Wire, SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub, TimePictra, TimeProvider,Vite, WinPath, and ZL are registered trademarks of Microchip Technology Incorporated in the U.S.A.

    Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BlueSky, BodyCom,CodeGuard, CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM,dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP,INICnet, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, memBrain, Mindi, MiWi, MPASM, MPF,MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM,PICDEM.net, PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, SAM-ICE, Serial QuadI/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense,ViewSpan, WiperLock, Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A.and other countries.

    SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.

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

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

    All other trademarks mentioned herein are property of their respective companies.© 2019, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.

    ISBN: 978-1-5224-5112-9

    Quality Management SystemFor information regarding Microchip’s Quality Management Systems, please visit http://www.microchip.com/quality.

    PIC16F18446 Curiosity Nano

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 29

    http://www.microchip.com/quality

  • AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPECorporate Office2355 West Chandler Blvd.Chandler, AZ 85224-6199Tel: 480-792-7200Fax: 480-792-7277Technical Support:http://www.microchip.com/supportWeb Address:http://www.microchip.comAtlantaDuluth, 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-4450-2828Fax: 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 - Ra’ananaTel: 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

    © 2019 Microchip Technology Inc. User Guide DS50002808B-page 30

    http://www.microchip.com/supporthttp://www.microchip.com

    PrefaceTable of Contents1. Introduction1.1. Features1.2. Kit Overview

    2. Getting Started2.1. Curiosity Nano Quick Start MPLAB® Xpress2.2. Curiosity Nano Quick Start2.3. Design Documentation and Relevant Links

    3. Curiosity Nano3.1. On-board Debugger3.1.1. Virtual COM Port (CDC)3.1.1.1. Overview3.1.1.2. Limitations3.1.1.3. Signaling3.1.1.4. Advanced Use

    3.1.2. Mass Storage Disk3.1.2.1. Mass Storage Device3.1.2.2. Configuration Words

    3.2. Curiosity Nano Standard Pinout3.3. Power Supply3.3.1. Target Regulator3.3.2. External Supply3.3.3. VBUS Output Pin

    3.4. Target Current Measurement3.5. Disconnecting the On-Board Debugger

    4. Hardware User Guide4.1. Connectors4.1.1. PIC16F18446 Curiosity Nano Pinout4.1.2. Using Pin Headers

    4.2. Peripherals4.2.1. LED4.2.2. Mechanical Switch4.2.3. Crystal

    4.3. On-Board Debugger Implementation4.3.1. On-Board Debugger Connections

    5. Hardware Revision History and Known Issues5.1. Identifying Product ID and Revision5.2. DAC pin limitations5.3. Revision 75.4. Revision 5

    6. Document Revision History7. Appendix7.1. Schematic7.2. Assembly Drawing7.3. Curiosity Nano Base for Click boards™7.4. Connecting External Debuggers

    The Microchip WebsiteProduct Change Notification ServiceCustomer SupportMicrochip Devices Code Protection FeatureLegal NoticeTrademarksQuality Management SystemWorldwide Sales and Service