You are on page 1of 27

PIC16F15376 Curiosity Nano

PIC16F15376 Curiosity Nano Hardware User Guide

Preface
The PIC16F15376 Curiosity Nano Evaluation Kit is a hardware platform to evaluate the PIC16F15376 microcontroller.
Supported by Microchip MPLAB® X Integrated Development Environment (IDE), the kit provides easy access to the
features of the PIC16F15376 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 PIC16F15376.

© 2019 Microchip Technology Inc. User Guide 50002900B-page 1


PIC16F15376 Curiosity Nano

Table of Contents
Preface........................................................................................................................................................... 1

1. Introduction............................................................................................................................................. 3
1.1. Features....................................................................................................................................... 3
1.2. Kit Overview................................................................................................................................. 3

2. Getting Started........................................................................................................................................ 4
2.1. Curiosity Nano Quick Start MPLAB® Xpress............................................................................... 4
2.2. Curiosity Nano Quick Start........................................................................................................... 4
2.3. Design Documentation and Relevant Links................................................................................. 4

3. Curiosity Nano.........................................................................................................................................6
3.1. On-board Debugger..................................................................................................................... 6
3.2. Curiosity Nano Standard Pinout................................................................................................... 9
3.3. Power Supply............................................................................................................................... 9
3.4. Target Current Measurement..................................................................................................... 12
3.5. Disconnecting the On-Board Debugger..................................................................................... 13

4. Hardware User Guide........................................................................................................................... 15


4.1. Connectors................................................................................................................................. 15
4.2. Peripherals................................................................................................................................. 16

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


5.1. Identifying Product ID and Revision........................................................................................... 18
5.2. Revision 2...................................................................................................................................18
5.3. Revision 1...................................................................................................................................18

6. Document Revision History...................................................................................................................19

7. Appendix............................................................................................................................................... 20
7.1. Schematic...................................................................................................................................20
7.2. Assembly Drawing......................................................................................................................22

7.3. Curiosity Nano Base for Click boards ...................................................................................... 23
7.4. Connecting External Debuggers................................................................................................ 24

The Microchip Website.................................................................................................................................25

Product Change Notification Service............................................................................................................25

Customer Support........................................................................................................................................ 25

Microchip Devices Code Protection Feature................................................................................................ 25

Legal Notice................................................................................................................................................. 25

Trademarks.................................................................................................................................................. 26

Quality Management System....................................................................................................................... 26

Worldwide Sales and Service.......................................................................................................................27

© 2019 Microchip Technology Inc. User Guide 50002900B-page 2


PIC16F15376 Curiosity Nano
Introduction

1. Introduction

1.1 Features
• PIC16F15376-I/MV Microcontroller
• One Yellow User LED
• One Mechanical User Switch
• Footprint for 32.768 kHz Crystal
• On-Board Debugger:
– Board identification in Microchip MPLAB® X
– 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.1V output voltage (limited by USB input voltage)
– 500 mA maximum output current (limited by ambient temperature and output voltage)

1.2 Kit Overview


The Microchip PIC16F15376 Curiosity Nano Evaluation Kit is a hardware platform to evaluate the PIC16F15376
microcontroller.
Figure 1-1. PIC16F15376 Curiosity Nano Evaluation Kit Overview

© 2019 Microchip Technology Inc. User Guide 50002900B-page 3


PIC16F15376 Curiosity Nano
Getting Started

2. Getting Started

2.1 Curiosity Nano Quick Start MPLAB® Xpress


Steps to start exploring the Curiosity Nano platform with MPLAB Xpress:
1. Go to https://mplabxpress.microchip.com, and open MPLAB Xpress.
2. Create a new stand-alone project for PIC16F15376.
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
PIC16F15376.
To use advanced debug features of the Curiosity Nano kit, package the MPLAB Xpress project for MPLAB X, and
follow the quick start guide in the next section.

2.2 Curiosity Nano Quick Start


Steps to start exploring the Curiosity Nano platform:
1. Download Microchip MPLAB® X.
2. Launch Microchip MPLAB® X.
3. Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the debug USB port on the
kit.
When the Curiosity Nano kit is connected to your computer for the first time, the operating system will perform a
driver software installation. The driver file supports both 32- and 64-bit versions of Microsoft® Windows® XP,
Windows Vista®, Windows 7, Windows 8, and Windows 10. The drivers for the kit are included with Microchip
MPLAB® X.
Once the Curiosity Nano board is powered the green status LED will be lit and Microchip MPLAB® X will auto-detect
which Curiosity Nano board is connected. Microchip MPLAB® X will present relevant information like data sheets and
kit documentation. The PIC16F15376 device is programmed and debugged by the on-board debugger and therefore
no external programmer or debugger tool is required.

2.3 Design Documentation and Relevant Links


The following list contains links to the most relevant documents and software for the PIC16F15376 Curiosity Nano.

• MPLAB® X IDE - MPLAB® X IDE is a software program that runs on a PC (Windows®, Mac OS®, Linux®) to
develop applications for Microchip microcontrollers and digital signal controllers. It is called an Integrated
Development Environment (IDE) because it provides a single integrated “environment” to develop code for
embedded microcontrollers.
• MPLAB® Xpress Cloud-based IDE - MPLAB® Xpress Cloud-Based IDE is an online development environment
that contains the most popular features of our award-winning MPLAB X IDE. This simplified and distilled
application is a faithful reproduction of our desktop-based program, which allows users to easily transition
between the two environments.
• MPLAB® Code Configurator - MPLAB® Code Configurator (MCC) is a free software plug-in that provides a
graphical interface to configure peripherals and functions specific to your application.
• Microchip Sample Store - Microchip sample store where you can order samples of devices.
• Data Visualizer - Data Visualizer is a program used for processing and visualizing data. The Data Visualizer
can receive data from various sources such as the EDBG Data Gateway Interface found on Curiosity Nano and
Xplained Pro boards and COM Ports.

© 2019 Microchip Technology Inc. User Guide 50002900B-page 4


PIC16F15376 Curiosity Nano
Getting Started

• PIC16F15376 Curiosity Nano website - Kit information, latest user guide and design documentation.
• PIC16F15376 Curiosity Nano on microchipDIRECT - Purchase this kit on microchipDIRECT.

© 2019 Microchip Technology Inc. User Guide 50002900B-page 5


PIC16F15376 Curiosity Nano
Curiosity Nano

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

3.1 On-board Debugger


The PIC16F15376 Curiosity Nano contains an on-board debugger for programming and debugging. The on-board
debugger is a composite USB device of several interfaces: A debugger, a mass storage device, a data gateway, and
a Virtual COM port (CDC).
Together with Microchip MPLAB® X, the on-board debugger can program and debug the PIC16F15376.
A Data Gateway Interface (DGI) is available for use with the logic analyzer channels for code instrumentation, to
visualize the program flow. DGI GPIOs can be graphed using the Data Visualizer.
The Virtual COM port is connected to a UART on the PIC16F15376 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 PIC16F15376 Curiosity Nano. The
table 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. This
can occur if the kit is externally powered.

3.1.1 Virtual COM Port


The Virtual COM port is a general purpose serial bridge between a host PC and a target device.

3.1.1.1 Overview
The 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 in
both directions between the host and the target: All characters sent from the host will be sent through a UART on the
CDC TX pin, and UART characters sent into the CDC RX pin will be sent back to the host through the Virtual COM
Port.
On Windows machines, the CDC will enumerate as Curiosity Virtual COM Port and appear in the Ports section of the
device manager. The COM port number is shown here.
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 terminal
program is used, it will appear in the available list of modems as usbmodem#.

© 2019 Microchip Technology Inc. User Guide 50002900B-page 6


PIC16F15376 Curiosity Nano
Curiosity Nano

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

3.1.1.2 Limitations
Not 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 the
closest 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 Signaling
During USB enumeration, the host OS will start both communication and data pipes of the CDC interface. At this
point, it is possible to set and read back the baud rate and other UART parameters of the CDC, but data sending and
receiving will not be enabled.
When a terminal connects on the host, it must assert the DTR signal. This is a virtual control signal implemented on
the 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 send
and receive mechanisms.
Deasserting the DTR signal will not disable the level shifters but disable the receiver so no further data will be
streamed 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-board
debugger will not send or receive any data through its UART.

3.1.1.4 Advanced Use

CDC Override Mode


In normal operation, the on-board debugger is a true UART bridge between the host and the device. However, under
certain use cases, the on-board debugger can override the basic operating mode and use the CDC pins for other
purposes.
Dropping a text file (with extension .txt) into the on-board debugger’s mass storage drive can be used to send
characters 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, the
baud rate last used still applies.

USB-Level Framing Considerations


Sending data from the host to the CDC can be done byte-wise or in blocks, which will be chunked into 64-byte USB
frames. Each such frame will be queued up for sending to the CDC TX pin. Transferring a small amount of data per
frame can be inefficient, particularly at low baud rates, since the on-board debugger buffers frames and not bytes. A
maximum of 4 x 64-byte frames can be active at any time. The on-board debugger will throttle the incoming frames
accordingly. Sending full 64-byte frames containing data is the most efficient.

© 2019 Microchip Technology Inc. User Guide 50002900B-page 7


PIC16F15376 Curiosity Nano
Curiosity Nano

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 pushed
to the USB queue at approximately 100 ms intervals, triggered by USB start-of-frame tokens. Up to 8 x 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 happens,
the last-filled buffer frame will be recycled instead of being sent to the USB queue, and a full frame of data will be
lost. To prevent this occurrence, the user must ensure that the CDC data pipe is being read continuously, or the
incoming data rate must be reduced.

3.1.2 Mass Storage Disk


A simple way to program the target device is through drag and drop with .hex files.

3.1.2.1 Mass Storage Device


The on-board debugger implements a highly optimized variant of the FAT12 file system that has a number of
limitations, partly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded
application.
The CURIOSITY drive is USB Chapter 9 compliant as a mass storage device but does not, in any way, fulfill the
expectations 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 of
the Windows device manager. The CURIOSITY drive appears in the file manager and 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 target
device’s Flash in any way. When programming a .hex file, the binary data are encoded in ASCII with metadata
providing a large overhead, so one MB is a trivially chosen value for disk size.
It is not possible to format the CURIOSITY drive. When programming a file to the target, the filename may appear in
the disk directory listing. This is merely the operating system’s view of the directory, which, in reality, has not been
updated. It is not possible to read out the file contents. Removing and replugging the kit will return the file system to
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 “CMD:ERASE” onto the disk.
By default, the CURIOSITY drive contains several read-only files for generating icons as well as reporting status and
linking 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 the
OS 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. The
debugger will not mask out any bits in the Configuration Words when writing them, but since it uses Low-Voltage
Programming mode, it is unable to clear the LVP Configuration bit. If the incorrect clock source is selected, for
example, and the board does not boot, it is always possible to perform a bulk erase (always done before
programming) and restore the device to its default settings.

© 2019 Microchip Technology Inc. User Guide 50002900B-page 8


PIC16F15376 Curiosity Nano
Curiosity Nano

3.2 Curiosity Nano Standard Pinout


The twelve edge connections closest to the USB connector on Curiosity Nano kits have a standardized pinout. The
program/debug pins have different functions depending on the target programming interface as shown in the table
and 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

PS LED
VBUS

NC VBUS
NC

VOFF

ID VOFF
ID
CDCRX

DBG3

CDC RX DEBUGGER DBG3


CDCTX

DBG0

CDC TX DBG0
DBG1

GND

DBG1 GND
DBG2

VTG

DBG2 CURIOSITY NANO VTG

3.3 Power Supply


The kit is powered through the USB port and contains two LDO regulators, one to generate 3.3V for the on-board
debugger, and an adjustable LDO regulator for the target microcontroller PIC16F15376 and its peripherals. The
voltage from the USB connector can vary between 4.4V to 5.25V (according to the USB specification) and will limit
the maximum voltage to the target. The figure below shows the entire power supply system on PIC16F15376
Curiosity Nano.

© 2019 Microchip Technology Inc. User Guide 50002900B-page 9


PIC16F15376 Curiosity Nano
Curiosity Nano

Figure 3-2. Power Supply Block Diagram


VTG

VREG Power Target


Target VLVL Supply Power
Regulator strap strap

Measure
On/Off Target
VUSB On/Off
USB Adjust MCU

Power consumer DEBUGGER P3V3 I/O Level I/O GPIO I/O


DEBUGGER
PTC Regulator shifter straps
Power converter
Fuse
Power protection
Power source
Cut strap
VBUS #VOFF ID system

3.3.1 Target Regulator


The target voltage regulator is a MIC5353 variable output LDO. The on-board debugger can adjust the voltage output
supplied to the kit target section by manipulating the MIC5353’s feedback voltage. The hardware implementation is
limited to an approximate voltage range from 1.7V to 5.1V. Additional output voltage limits are configured in the
debugger firmware to ensure that the output voltage never exceeds the hardware limits of the PIC16F15376
microcontroller. The voltage limits configured in the on-board debugger on PIC16F15376 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 project
properties. 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 a
small 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 ambient
temperature of 23°C.

© 2019 Microchip Technology Inc. User Guide 50002900B-page 10


PIC16F15376 Curiosity Nano
Curiosity Nano

Figure 3-3. Target Regulator Safe Operation Area

3.3.2 External Supply


PIC16F15376 Curiosity Nano can be powered by an external voltage instead of the on-board target regulator. When
the 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.

Applying an external voltage to the VTG pin without shorting VOFF to GND may cause permanent damage
WARNING
to the kit.

Absolute maximum external voltage is 5.5V for the on-board level shifters, and the standard operating
WARNING
condition of the PIC16F15376 is 2.3-5.5V. Applying a higher voltage may cause permanent damage to the
kit.

Programming, debugging, and data streaming is still possible with an external power supply: The debugger and
signal level shifters will be powered from the USB cable. Both regulators, the debugger, and the level shifters are
powered down when the USB cable is removed.

3.3.3 VBUS Output Pin


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

© 2019 Microchip Technology Inc. User Guide 50002900B-page 11


PIC16F15376 Curiosity Nano
Curiosity Nano

Figure 3-4. VBUS Output Voltage vs. Current

3.4 Target Current Measurement


Power to the PIC16F15376 is connected from the on-board power supply and VTG pin through a 100-mil pin header
cut Target Power strap marked with “POWER” in silkscreen (J101). To measure the power consumption of the
PIC16F15376 and other peripherals connected to the board, cut the Target Power strap and connect an ammeter
over the strap.
Figure 3-5. Target Power Strap

Target Power strap (top side)

Tip:  A 100-mil pin header can be soldered into the Target Power strap (J101) footprint for easy
connection of an ammeter. Once the ammeter is not needed anymore, place a jumper-cap on the pin
header.

© 2019 Microchip Technology Inc. User Guide 50002900B-page 12


PIC16F15376 Curiosity Nano
Curiosity Nano

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

3.5 Disconnecting the On-Board Debugger


The block diagram below shows all connections between the debugger and the PIC16F15376 microcontroller. The
rounded boxes represent connections to the board edge on PIC16F15376 Curiosity Nano. The signal names shown
in Figure 3-1 are printed in silkscreen on the bottom side of the board.
Figure 3-6.  On-Board Debugger Connections to the PIC16F15376
VBUS VOFF VTG

Power Supply strap Target Power strap


VBUS
USB LDO VCC_EDGE

VCC_TARGET
VCC_LEVEL
LDO

VCC_P3V3

GPIO straps
PA04/PA06 DBG0
PA07 DBG1
DEBUGGER

PA08 DBG2
PA16 Level-Shift DBG3 TARGET
PA00 CDC TX
PA01 CDC RX
DIR x 5

CDC RX DBG0
CDC TX DBG1
DBG2
DBG3
By cutting the GPIO straps with a sharp tool, as shown in Figure 3-7, all I/Os connected between the debugger and
the PIC16F15376 are completely disconnected. To completely disconnect the target regulator and level shifter power
from 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, and
the target power supply. The signals will also be disconnected from the board edge next to the on-board
debugger section.

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

© 2019 Microchip Technology Inc. User Guide 50002900B-page 13


PIC16F15376 Curiosity Nano
Curiosity Nano

Figure 3-7. Kit Modifications

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

© 2019 Microchip Technology Inc. User Guide 50002900B-page 14


PIC16F15376 Curiosity Nano
Hardware User Guide

4. Hardware User Guide

4.1 Connectors

4.1.1 PIC16F15376 Curiosity Nano Pinout


All the PIC16F15376 I/O pins are accessible at the edge connectors on the board. The image below shows the kit
pinout.
Figure 4-1. PIC16F15376 Curiosity Nano Pinout

Analog Peripheral
Debug Port
I2C PWM
SPI Power
UART Ground
USB
Shared pinout
PS LED

VBUS
NC VBUS
NC

VOFF
ID VOFF
ID
CDC RX

DBG3
RD0 CDC RX DEBUGGER DBG3 RE3 MCLR
CDC TX

RD1 CDC TX DBG0 DBG0 RB7 ICSPDAT


DBG1

GND

ICSPCLK RB6 DBG1 GND


PIC16F15376
DBG2

VTG

SW0 RE2 DBG2 CURIOSITY NANO VTG


RA7
RC2

TX RC2 RA7 ANA7


RA6
RC3

RX RC3 RA6 ANA6


RA5
RB2

SDA RB2 RA5 ANA5


RA4
RB1

SCL RB1 RA4 ANA4 PWM


RA3
RC4

MOSI RC4 RA3 ANA3 PWM


RA2
RC5

MISO RC5 RA2 ANA2


PIC16F15376
RA1
RC6

SCK RC6 RA1 ANA1


RD4

RA0

SS RD4 RA0 ANA0


GND

GND

GND GND
RD7
RB0

TX RB0 RD7
RD6
RB3

RX RB3 RD6
RD5
RB4

RB4 RD5
RC7

RB5

RC7 RB5
(RC1)
RD0

TX RD0 (RC1) SOSCI


(RC0)
RD1

RX RD1 (RC0) SOSCO


RD2

RD2 RE1
RE1

LED0
RD3

RD3 RE0 LED0


RE0
GND

GND

GND SW0 GND

Info:  Peripheral signals shown in the image above such as UART, I2C, SPI, ADC, PWM, and others are
shown at specific pins to comply with the Curiosity Nano board standard. These signals can usually be
routed to alteriative pins using the Peripheral Pin Select (PPS) feature in the PIC16F15376.

4.1.2 Using Pin Headers


The edge connector footprint on PIC16F15376 Curiosity Nano has a staggered design where each of the holes is
shifted 8 mil (~0.2 mm) off center. The hole shift allows the use of regular 100-mil pin headers on the kit without
soldering. Once the pin headers are firmly in place, they can be used in normal applications like pin sockets and
prototyping boards without any issues.

© 2019 Microchip Technology Inc. User Guide 50002900B-page 15


PIC16F15376 Curiosity Nano
Hardware User Guide

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.

Tip:  For applications where the pin headers will be used permanently, it is still recommended to solder
them in place.

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

4.2 Peripherals

4.2.1 LED
There is one yellow user LED available on the PIC16F15376 Curiosity Nano kit that can be controlled by either GPIO
or PWM. The LED can be activated by driving the connected I/O line to GND.
Table 4-1. LED Connection

PIC16F15376 Pin Function Shared Functionality


RE0 Yellow LED0 Edge connector

4.2.2 Mechanical Switch


The PIC16F15376 Curiosity Nano has one mechanical switch. This is a generic user-configurable switch. When the
switch 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 an
internal pull-up resistor is enabled on pin RE2.

Table 4-2. Mechanical Switch

PIC16F15376 Pin Description Shared Functionality


RE2 User switch (SW0) Edge connector

4.2.3 Crystal
The PIC16F15376 Curiosity Nano board has a footprint for a 32.768 kHz crystal.
The crystal footprint is connected to the PIC16F15376 by default, but the GPIOs are routed out to the edge connector
through open solder straps. The two I/O lines routed to the edge connector are disconnected by default to both
reduce the chance of contention to the crystal as well as removing excessive capacitance on the lines when using the
crystal. To use the pins RC0 and RC1 as GPIO on the edge connector, some hardware modification is needed. Add a
solder blob to the open straps on the bottom side to connect the routing. The crystal should be disconnected when
using the pin as GPIO, as this might harm the crystal.

© 2019 Microchip Technology Inc. User Guide 50002900B-page 16


PIC16F15376 Curiosity Nano
Hardware User Guide

Table 4-3. Crystal Connections

PIC16F15376 Pin Function Shared Functionality


RC0 SOSC0 (Crystal output) Edge connector
RC1 SOSCI (Crystal input) Edge connector

4.2.4 On-Board Debugger Implementation


PIC16F15376 Curiosity Nano features an on-board debugger that can be used to program and debug the
PIC16F15376 using ICSP. The on-board debugger also includes a Virtual Com port interface over UART and DGI
GPIO. Microchip MPLAB® X can be used as a front-end for the on-board debugger for programming and debugging.
Data Visualizer can be used as a front-end for the CDC and DGI GPIO.

4.2.4.1 On-Board Debugger Connections


The table below shows the connections between the target and the debugger section. All connections between the
target and the debugger are tri-stated as long as the debugger is not actively using the interface. Hence there is little
contamination 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

PIC16F15376 Debugger Pin Function Shared Functionality


Pin
RD1 CDC TX UART RX (PIC16F15376 RX line) Edge connector
RD0 CDC RX UART TX (PIC16F15376 TX line) Edge connector
RB7 DBG0 ICSPDAT Edge connector
RB6 DBG1 ICSPCLK Edge connector
RE2 DBG2 GPIO Edge connector
RE3 DBG3 MCLR Edge connector

© 2019 Microchip Technology Inc. User Guide 50002900B-page 17


PIC16F15376 Curiosity Nano
Hardware Revision History and Known Issues

5. Hardware Revision History and Known Issues


This 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 Revision


The revision and product identifier of the PIC16F15376 Curiosity Nano can be found in two ways; either through
Microchip MPLAB® X or by looking at the sticker on the bottom side of the PCB.
By connecting a PIC16F15376 Curiosity Nano to a computer with Microchip MPLAB® X running, an information
window will pop up. The first six digits of the serial number, which is listed under kit details, contain the product
identifier and revision.
The same information can be found on the sticker on the bottom side of the PCB. Most kits will print the identifier and
revision in plain text as A09-nnnn\rr, where “nnnn” is the identifier and “rr” is the revision. The boards with limited
space have a sticker with only a QR-code, containing the product identifier, revision and the serial number.
The serial number string has the following format:

"nnnnrrssssssssss"
n = product identifier
r = revision
s = serial number

The product identifier for PIC16F15376 Curiosity Nano is A09-3251.

5.2 Revision 2
Revision 2 adds the Target Power strap and staggered the holes along the edge of the PCB for convenient use of pin
headers without soldering.

5.3 Revision 1
Revision 1 is the initially released revision with limited distribution.
The holes along the edge of revision 1 are not staggered as described in 4.1.2 Using Pin Headers, and requires that
any pin headers must be soldered into the board for use.
Revision 1 does not have the Target Power strap described in 3.4 Target Current Measurement, instead current can
be measured across the Power Supply strap as described in 3.5 Disconnecting the On-Board Debugger.
Figure 5-1. PIC16F15376 Curiosity Nano Revision 1

© 2019 Microchip Technology Inc. User Guide 50002900B-page 18


PIC16F15376 Curiosity Nano
Document Revision History

6. Document Revision History


Doc. rev. Date Comment
B 10/2019 Kit images updated and MPLAB Xpress quick start added.
A 07/2019 Initial document release.

© 2019 Microchip Technology Inc. User Guide 50002900B-page 19


7.

7.1
1 2 3 4 5 6 7 8

Schematic
Appendix

DEBUGGER CONNECTIONS
RX PIC16F15376
CDC_UART UART
TX Debugger Name Pin
PIC16F15376 DBG0
DBG3 CDC TX UART RX RD1
A A
DBG1
DBG2 CDC RX UART TX RD0
VOFF
ID_SYS DBG0 ICSPDAT RB7

DBG1 ICSPCLK RB6

PROG/DEBUG PULL DBG2 GPIO0 RE2

© 2019 Microchip Technology Inc.


DBG0 DBG3 MCLR RE3
DBG1
VTG 2.3V - 5.5V

47k
47k

R204
R205

RC6_SCK
RC5_MISO
RC4_MOSI
RD3
RD2
RD1_RX
RD0_TX
RC3_RX
RC2_TX
RC1_SOSCI
GND VBUS
J200
U200 DEBUGGER

DBG2
DBG1
CDC_TX
CDC_RX
ID_SYS
VOFF
DBG3
DBG0

41
40
39
38
37
36
35
34
33
32
31
PIC16F15376T-I/MV NC 1 48
RESERVED VBUS
GND 2
ID VOFF
47

PAD
GND RD0_TX J201 3 46 J202 RE3_MCLR

RC6
RC5
RC4
RD3
RD2
RD1
RD0
RC3
RC2
RC1
CDC RX DBG3
RC7 1
RC7 RC0
30 RC0_SOSCO RD1_RX J203 4
CDC TX DBG0
45 J204 RB7_ICSPDAT
GND RD4_SS 2 29 RA6_ANA6 RB6_ICSPCLK J205 5 44
RD4 RA6 DBG1 GND GND
RD5 3 28 RA7_ANA7 RE2_SW0 J206 6 43
B RD5 RA7 DBG2 VCC VCC_EDGE B
RD6 4 27 RC2_TX 7
0 TX ADC 7
42 RA7_ANA7
RD6 VSS C200
RD7 5 26 RC3_RX 8
1 RX ADC 6
41 RA6_ANA6
RD7 VDD 100n
6 25 RE2_SW0 RB2_SDA 9
2 SDA ADC 5
40 RA5_ANA5
C202 VSS RE2
7 24 RE1 RB1_SCL 10 39 RA4_ANA4_PWM
100n VDD RE1 3 SCL PWM 4
RB0_TX 8 23 RE0_LED0 RC4_MOSI 11 38 RA3_ANA3_PWM
RB0 RE0 4 MOSI PWM 3
RB1_SCL 9 22 RA5_ANA5 RC5_MISO 12 37 RA2_ANA2
RB1 RA5 5 MISO ADC 2
RB2_SDA 10
RB2 RA4
21 RA4_ANA4_PWM VCC_TARGET RC6_SCK 13
6 SCK ADC 1
36 RA1_ANA1
RD4_SS 14
7 SS ADC 0
35 RA0_ANA0
VCC_TARGET 15 34

RB3
RB4
RB5
RB6/ICSPCLK
RB7/ICSPDAT
RE3/MCLR
RA0
RA1
RA2
RA3
GND GND GND GND
Figure 7-1. PIC16F15376 Curiosity Nano Schematic

RB0_TX 16 33 RD7
0 (TX) 7
MCLR PULL-UP RB3_RX 17 32 RD6
1 (RX) 6

11
12
13
14
15
16
17
18
19
20
VCC_TARGET RB4 18
2 5
31 RD5
RC7 19
3 4
30 RB5
RD0_TX 20 29 (RC1)_SOSCI J207 RC1_SOSCI
0 7
RD1_RX 21 28 (RC0)_SOSCOJ208 RC0_SOSCO
1 6
RD2 22 27 RE1
2 5
RD3 RE0_LED0

R200
100k
23 26
3 4
24 25
GND GND GND GND
TARGET

RB3_RX
RB4
RB5
RB6_ICSPCLK
RB7_ICSPDAT
RE3_MCLR
RA0_ANA0
RA1_ANA1
RA2_ANA2
RA3_ANA3_PWM
RE3_MCLR CNANO48-pin edge connector

User Guide
C C
NOTE on UART/CDC:

RX/TX on the header denotes the input/output

RE2_SW0
RE0_LED0
RC1_SOSCI
RC0_SOSCO
direction of the signal respective to it's source.

CDC TX is output from the on-board debugger.


CDC RX is input to the on-board debugger.
USER BUTTON USER LED TARGET BULK 32kHz CRYSTAL TX is output from the TARGET device.
RX is input to the TARGET device.

NOTE on I2C:

J210
J211
VCC_TARGET VCC_EDGE
No pull-ups on board. Pull-ups should be
mounted close to slave device(s).

1k
R202
2
XC200
C205

D200

3
4
2.2uF J209

YELLOW LED

1
SML-D12Y1WT86
SW200 C203 C204
10p 10p
Drawn By:

1
2

TS604VM1-035CR
D GND GND GND Microchip Norway D

1k
Engineer:

R203
32.768kHz
GND Kyocera Corporation TF, HN
ST3215SB32768C0HPWBB Project Title
Designed with
PIC16F 15376 Curiosity Nano
Sheet Title
Target MCU Altium.com
Size Assembly Number: A09-3251 PCBA Revision: 2
A3 PCB PCB Number: A08-2980 PCB Revision: 2 Date: 29/08/2019
File: PIC16F15376_Curiosity_Nano_Target_MCU.SchDoc Page: 2 of 4
1 2 3 4 5 6 7 8

50002900B-page 20
Appendix
PIC16F15376 Curiosity Nano
1 2 3 4 5 6 7 8

Interface
ICSP UPDI
TARGET ADJUSTABLE REGULATOR TARGET TARGET
Signal
J100:
VCC_VBUS VCC_REGULATOR VCC_LEVEL VCC_EDGE CDC TX UART RX UART RX
Cut-strap used for full separation of target power from the level shifters and on-board regulators.
U102 MIC5353 U108
- For current measurements using an external power supply, this strap could be cut for more
3 4 A2 A1 J100 CDC RX UART TX UART TX
VIN VOUT
B2
VIN VOUT
B1 accurate measurements. Leakage back through the switch is in the micro ampere range.
VIN VOUT
REG_ENABLE 1 5 C2 C1 DBG0 DAT UPDI
EN NC/ADJ EN GND J101 J101:
This is footprint for a 1x2 100mil pitch pin-header that can be used for easy current measurement
DBG1 CLK GPIO

47k
6 2

47k
47k
A to the target microcontroller and the LED / Button. To use the footprint: A

R109
BYP GND

R101
R102
GND C103 MIC94163
GND - Cut the track between the holes, and mount a pin-header

VTG_EN
C102 VCC_TARGET DBG2 GPIO GPIO

47k
100n 2.2uF

R103
DBG3 MCLR RESET
GND MIC5353:

47k
27k
47k
47k

R100
R104
R105
R111
Vin: 2.6V to 6V VCC - -
Vout: 1.25V to 5.1V

VBUS_ADC
GND Imax: 500mA
GND GND GND GND GND Dropout (typical): 50mV@150mA, 160mV @ 500mA
Accuracy: 2% initial

REG_ADJUST

© 2019 Microchip Technology Inc.


VTG_ADC Thermal shutdown and current limit
R106 MIC5528:
DAC
33k Vin: 2.5V to 5.5V
Maximum output voltage is limited by the input voltage and the dropout voltage in the regulator.
Vout: Fixed 3.3V
(Vmax = Vin - dropout)
Imax: 500mA
Dropout: 260mV @ 500mA
Adjustable output and limitations: DEBUGGER TESTPOINTs DEBUGGER REGULATOR
- The onboard debugger can adjust the output voltage of the regulator between 1.25V and 5.1V to the target.
- The level shifters have a minimal voltage level of 1.65V and will limit the minimum operating voltage allowed for the J102 VCC_VBUS U101 MIC5528-3.3YMT VCC_P3V3
target to still allow communication. SWCLK 1 2 6 1
TCK GND GND VIN VOUT
- The output switch has a minimal volatege level of 1.70V and will limit the minimum voltage delivered to the target. 3 4 C100
TDO VTref VCC_P3V3 C101
- Firmware configuration will limit the voltage range to be within the the target specification. SWDIO 5 6 SRST 4 2
TMS SRST EN VOUT
2.2uF
- Firmware feedback loop will adjust the output voltage accuracy to within 0.5%. 7 8 4.7uF
D

9 Vsup TRST 10 C104 5


GND
G
GN
EP

TDI GND 100n


NC
GND GND
Programming connector Testpoint Array
3
7

for factory programming of GND


Debugger
B GND B

VCC_MCU_CORE
DEBUGGER POWER/STATUS LED
C106 GND R107 D100
STATUS_LED 1 2
1u 1k VCC_P3V3
GND GREEN LED
VCC_P3V3
SML-P12MTT86R
C107
100n
U103 74LVC1T45FW4-7 SWCLK TP100 TP101
BOOT DEBUGGER USB MICRO-B CONNECTOR
6 1 GND
VCCB VCCA SWDIO
SRST
CDC_TX_CTRL
VCC_LEVEL 5 2 VCC_P3V3
DIR GND
4 3 GND PTC Resettable fuse:
B A U100 VBUS VCC_VBUS

32
31
30
29
28
27
26
25

Hold current: 500mA


SAMD21E18A-MUT
F100 Trip current: 1000mA
CDC_TX U104 74LVC1T45FW4-7
TX
CDC_UART UART CDC_RX 6 1
GND

RX VCCB VCCA MC36213


PA28
PA27

CDC_RX_CTRL
VCC_LEVEL 5 2 VCC_P3V3 J105
VDDIN
DIR GND
RESETN

4 3 GND 1
VDDCORE

B A VBUS
S1_0_TX 1
PA00 USB_DP/PA25
24 USBD_P USBD_N 2
D-
S1_1_RX 2 USBD_N USBD_P
SWDIO/PA31

23 3
PA01 USB_DM/PA24 D+
SWDCLK/PA30

U105 74LVC1T45FW4-7 DAC 3


PA02 USB_SOF/PA23
22 ID_SYS 4
ID

User Guide
6 1 VTG_ADC 4 21 CDC_TX_CTRL 5
VCCB VCCA PA03 PA22 GND GND
DBG0_CTRL S0_0_RX VOFF
VCC_LEVEL 5 2 VCC_P3V3 5 20 6
DIR GND PA04 PA19 SHIELD1
DBG0 4 3 GND RESERVED 6 19 CDC_RX_CTRL 7
DBG0 B A R108 PA05 PA18 SHIELD2
S0_2_TX 7 18 VTG_EN 8
1k PA06 PA17 SHIELD3
C S0_3_CLK 8
PA07 PA16
17 DBG3_CTRL 9
SHIELD4 C
U106 74LVC1T45FW4-7
6 1 SHIELD
VCCB VCCA MU-MB0142AB2-269
DBG1_CTRL
VCC_LEVEL 5 2 VCC_P3V3 33
DIR GND PAD
DBG1 4 3 GND
VDDANA
GND
PA08
PA09
PA10
PA11
PA14
PA15

DBG1 B A
GND
ID PIN
9

VCC_P3V3
10
11
12
13
14
15
16

U107 74LVC1T45FW4-7
6 1
VCC_LEVEL VCCB VCCA VCC_P3V3
DBG2_CTRL 5
DIR GND
2 VCC_P3V3
DBG2 4 3 GND C108
DBG2 B A
1k

100n
GND
R112

ID_SYS
DBG2_CTRL
DBG2_GPIO
REG_ENABLE
VBUS_ADC
DBG0_CTRL
DBG1_CTRL

ID_SYS

DBG3 OPEN DRAIN


DBG3 R110
DBG3 1k
Drawn By:
3

D Q101 Microchip Norway D


DMN65D8LFB
Engineer:
1 DBG3_CTRL TF, HN
Project Title
Designed with
2

PIC16F15376 Curiosity Nano


Sheet Title
GND
Debugger Altium.com
VOFF VOFF Size Assembly Number: A09-3251 PCBA Revision: 2
A3 PCB PCB Number: A08-2980 PCB Revision: 2 Date: 09.05.2019
File: PIC16F15376_Curiosity_Nano_Debugger.SchDoc Page: 3 of 4
1 2 3 4 5 6 7 8

50002900B-page 21
Appendix
PIC16F15376 Curiosity Nano
PIC16F15376 Curiosity Nano
Appendix

7.2 Assembly Drawing


Figure 7-2. PIC16F15376 Curiosity Nano Assembly Drawing Top
PAJ20000
PAJ20 048 PAJ20 047 PAJ200046 PAJ200045 PAJ200044 PAJ200043 PAJ200042 PAJ200041 PAJ200040 PAJ200039 PAJ200038 PAJ200037 PAJ200036 PAJ200035 PAJ200034 PAJ200033 PAJ200032 PAJ200031 PAJ200030 PAJ200029 PAJ200028 PAJ200027 PAJ200026 PAJ200025
COJ200

COJ100
PAJ10001 PAJ10002
PAU10103 PAU10102 PPAU10101
AU1010 COR103
PAR10301 PAR10302 COC102
PAC10201 PAC10202 PAR10601
COR106 PAR10602
PAC10002 PAC10001
PAF10001
COF10
COC100
COU101 PCAOCC10110012
PAU10107

COR205 CO 205 PAJ10101 PAJ10102


PAR20501 PAC20501
PAJ10506 PAF10002 COR110
PAR11001 PAR11002
PAU10104 PAU10105 PAU10106 PAC10101 PAU10201
COU102
PAU10202 PAU10207 PPCAAORRR1100111000121 PAR10402
PAU10206
PAU10205 COR104
PAR10401 COU108
PAU1080C2 PAU1080C1
PAU1080B2 PAU1080B1
PAR20502 PAC20502
COJ101

PAJ105010PAJ10508
COQ101
PAQ10100
PAQ10102
PAQ10103 PAQ10101 COR10 COR109
PAR10002 PAR10902
PAU10203 PAU10204

PAC10301PAC10302
COC103
PAU1080A2 PAU1080A1

COJ202
PAJ20201 PAJ20202 COJ209
PAJ20902 PAJ20901 COC202
PAC20201 PAU200023 COR200
20 PAR20002PAR20001
PAU200022PAU20 021PAU20PAU200019
0PAU200018 PASW20 03 PASW20 01
PAR10001 PAR10901 PAC20202 PAU200026 PAU200025PAU20 024 17
0PAU200015
PAU20PAU200016

PAU200041
PAU10701PAU10706

PIC®
PAU10702PAU10705
COU107
CO 204
PAU10700

PAJ20602 PAC20401 P A U2 0 0 27 PAU200014

b
PCAOCC10180081
PAC10802 PAU10703PAU10704 COJ206
PAJ20601
PAC10402 PAR1 102 PAXC20001 PAJ20805
PAJ10501
PAJ10201 PAJ10203 PAJ10205
COJ105 COC104 COR1 1 PAC20402
COJ208 PAU200028
PAJ20801

PAU200029
PAU20 030
PAJ20802

PAU20000
PAU200013
PAU200012
PAU20 01 PAD20001
COD20 CAORR20230032 CAORR20220021 COSW20
COXC20
PAU10601PAU10606
PAJ10502 PAJ21102PAJ21101
COJ211 PAR20301 PAR20202
COJ102 PAC10401 PAR11101 PAU10 16 PAU10 015 PAU10 14 PAU10 013PAU10 012 PAU10 1 PAU10 010 PAU10 9 PAU10602PAU10605
COU106
PAJ10503 PAU100017 PAU10008
PAU10600
PAU10603PAU10604 COJ205
PAJ20501 PAJ20502 PAJ20705
COJ207
PAU200031
COU200
PAU200010 PAD20002 P P
MCU
PAJ20701 PAJ20702

PAJ10202 PAJ10204 PAJ10206 PAR10802 PAC20301 PAJ21002PAJ21001


COJ210
COR108 COC203
PAU100033
PAJ10504 PAU100018 PAU10007 PAU10501PAU10506
PAU200032 PAU200033PAU200034 PAU20009
PAU20008
PAJ10505 PAU100019

PAU100020
PAU10006

PAU10005 PAR10801
PAU10502PAU10505
COU105
PAU10500
PAU10503PAU10504
COJ204
PAJ20401 PAJ20402 PAXC20002 PAC20302 PAU200035
PAU200036PAU200037
PAU20007
PAU20006
PAJ105011PAJ10509 PAU20004PAU20005 PAC20002
PAJ10500 PAU100021
PAU100022

PATP10101
COTP101
COU100 PAU10004
PAU10003 PAR10502 COR102
COR105PAR10201 PAR10202 PAJ20101
COJ201 PAJ20102 38 PAU20001PAU20002
20 0PAU200040
PAUPAU200039 PAU20003 COC200PAC20001
COLABEL1
PASW20 4 PASW20 2
PAJ10507 PAU100023
PAU100024

PATP10 01
COTP100
PAU10 25 PAU10 026
PAU10002
PAU10001

PAU10 27 PAU10 028 PAU10 29 PAU10 30 PAU10 031 PAU10 32


PAU10401PAU10406
PAU10402PAU10405
PAR10501 COU104 PAU10400
PAU10403PAU10404

PAU10301PAU10306
PAU10302PAU10305
COJ203
PAJ20301 PAJ20302
COR204
PAR20401 PAR20402
COU103
PAU10300
PAU10303PAU10304
COD100
PAD10002 PAD10001 PAR11201
COR112 PAR11202 COR107
PAR10701 PAR10702 COC106
PAC10601 PAC10602 PAC10701
COC107 PAC10702

PAJ20001 PAJ20002 PAJ20003 PAJ20004 PAJ20005 PAJ20006 PAJ20007 PAJ20008 PAJ20009 PAJ200010 PAJ200011 PAJ200012 PAJ200013 PAJ200014 PAJ200015 PAJ200016 PAJ200017 PAJ200018 PAJ200019 PAJ200020 PAJ200021 PAJ200022 PAJ200023
PAJ20 24
Figure 7-3. PIC16F15376 Curiosity Nano Assembly Drawing Bottom
00002JAP

520002JAP 620002JAP 720002JAP 820002JAP 920002JAP 030002JAP 130002JAP 230002JAP 330002JAP 430002JAP 530002JAP 630002JAP 730002JAP 830002JAP 930002JAP 040002JAP 140002JAP 240002JAP 340002JAP 440002JAP 540002JAP 640002JAP 0200001J1AP J100O01JCAP
740 02JAP 840 02JAP 002JOC

6200601R1AP RO1060C1RAP 2200201C1AP C102O01CCAP 2303001RA1P R103O01RACP 010110011UUAAPP 20101UAP 30101UAP


20101CAP 1000010CAP1C2O000C1CAP 10001FAP
101COC 101UOC
20101JAP 10101JAP 502CO 502ROC
c
70101UAP
10502CAP 10502RAP
101JOC
20502CAP 20502RAP 801UOC 2140004410011RRROAACPP 2110001110011RRROAACPP
1C0801UAP 2C0801UAP
1B0801UAP 2B0801UAP
60201UAP
01UA0
5022
10201UAP
70201UAP
0201C
P 1U2O UAP
10101CAP 60101UAP 50101UAP 40101UAP
0201011R1AP R100O11RCAP
0 1FOC
20001FAP 60501JAP
10 02WSAP 30 02WSAP 002ROC
10002RAP
20002RAP 8109010020U00A22PU0AP02UAP120 0222U03A02P0020U0A2PUAP 10202CAP
202COC 9100902J2AP J209O02JCAP 2022002J2APJ102O02JCAP
1A0801UAP 2A0801UAP 40201UAP 30201UAP

2303001C1AP1C03O01CCAP 901ROC 0 1ROC


20901RAP 20001RAP 00101QAP
20101QAP
10101101QAPQOC 30101QAP
80501JA0P10501JAP
61000721U0AP02UAP 420 0522U06A02P0020U0A2PUAP 20202CAP 10901RAP 10001RAP

140002UAP
60701UAP10701UAP
1UAP1
570700 1UUAAPPC
2007U00710O
4100501200U0A2PUAP 720808220U095A02P002280U00A2J2PUAJPAOP C 402CO
10402CAP 2066002J2APJ106O02JCAP
202ROC 302ROC 0 2DOC 10002DAP 2103010020U0A2PUAP
20802JAP 10802JAP
10002CXAP 40701UAP30701UAP
801COC
20801CAP 201 1RAP 20401CAP
1 1ROC 401COC 10501JAP

0 2WSOC 20202RAP 10302RAP 1 0 02UAP


00002UAP 030 02UAP 1101112J2AP2J01O12JCAP 20402CAP
0 2CXOC 2055002J2APJ105O02JCAP
60601UAP10601UAP
1UAP1
560600 1UUAAPPC
2006U00610O 10801CAP 90 1UAP 010 01UAP 10 1UAP 210 01UAP310 01UAP 410 1UAP 510 01UAP 610 1UAP 10111RAP 10401CAP 50201JAP 30201JAP 10201JAP
20501JAP
201JOC
501JOC
t
002UOC 40601UAP30601UAP 30501JAP
10202RAP 20302RAP 002DAP 0109000020U2AUPAP 705021730J20J2UAOP C 20702JAP 10702JAP
1000112J2AP2J00O12JCAP
80001UAP 710001UAP
10302CAP 20801RAP 60201JAP 40201JAP 20201JAP
302COC 801ROC
330001UAP
40501JAP
20 30002UAP
43000323U02A0P02UAP

R
60501UAP10501UAP 70001UAP 810001UAP

80700020U0A2P UAP 2044002J2APJ104O02JCAP 1UAP1


550500 1UUAAPPC
2005U00510O 60001UAP 910001UAP
50501JAP

20002CAP 60050020U0A24PU0A03P0020U0A2PUAP 830730020U06A23PU05A03P0020U0A2PUAP 20302CAP 20002CXAP 40501UAP30501UAP 10801RAP 50001UAP 020001UAP

20 2WSAP 40 2WSAP 1LEBALOC


002COC10002CAP 200021U0A0P02UAP04000923U0A0P02UAP 20110022JAJP1O010C2JAP 2202001RA1P R102O01RCAP 20501RAP 40001UAP
001UOC 120001UAP
900501JJAPA1P10501JAP
2033002J2APJ103O02JCAP
60401UAP10401UAP
1UAP1
540400 UAPC
204U01O
00401UAP
40401UAP30401UAP
501ROC
10501RAP
30001UAP

20001UAP
10001UAP
101PTOC
220001UAP

10101PTAP
320001UAP
420001UAP

70501JAP
60301UAP10301UAP
230 1UAP 130 01UAP 03 01UAP 920 1UAP 820 01UAP 720 1UAP 0620 01UA0P 5210 1UAP10P01PTTAPOC
402RA2P R10O
4200 402RACP 1UAP1
530300 1UUAAPPC
2003U00310O
40301UAP30301UAP 2707001C1AP1C07O01CCAP 2606001CA1P C106O01CACP 7200701R1AP R107O01RCAP 2202111RAP1R1O0211CRAP 0100001D1AP DO2000C1DAP

420 2JAP 320002JAP 220002JAP 120002JAP 020002JAP 910002JAP 810002JAP 710002JAP 610002JAP 510002JAP 410002JAP 310002JAP 210002JAP 110002JAP 010002JAP 90002JAP 80002JAP 70002JAP 60002JAP 50002JAP 40002JAP 30002JAP 20002JAP 10002JAP

© 2019 Microchip Technology Inc. User Guide 50002900B-page 22


7.3

Analog Peripheral
Debug Port
I2C PWM Curiosity Nano Base

© 2019 Microchip Technology Inc.


SPI Power TM
UART Ground
for click boards
USB
Shared pinout
PS LED

NC
NC VBUS RA0 AN PWM RA3 RA2 AN PWM RA5

VBUS

ID
ID VOFF RA7 RST INT RA6 RD5 RST INT RB5

VOFF
RD0 CDC RX DEBUGGER DBG3 RE3 MCLR RD4 CS RX RC3 RD7 CS RX RC3

DBG3

CDC RX
RD1 CDC TX DBG0 RB7 ICSPDAT RC6 SCK TX RC2 RC6 SCK TX RC2

DBG0

CDC TX
GND
ICSPCLK RB6 DBG1 GND RC5 MISO SCL RB1 RC5 MISO SCL RB1

DBG1
PIC16F15376

VTG
SW0 RE2 DBG2 CURIOSITY NANO VTG RC4 MOSI SDA RB2 RC4 MOSI SDA RB2

DBG2
RC2
RA7
TX RC2 RA7 ANA7 +3.3V +3.3V +5V +5V +3.3V +3.3V +5V +5V

RC3
RA6
RX RC3 RA6 ANA6 GND GND 1 GND GND GND GND 3 GND GND
Curiosity Nano Base for Click boards™

RB2
RA5
SDA RB2 RA5 ANA5

RB1
RA4
SCL RB1 RA4 ANA4 PWM

RC4
RA3
MOSI RC4 RA3 ANA3 PWM
Figure 7-4. PIC16F15376 Curiosity Nano Pinout Mapping

RC5
RA2
MISO RC5 RA2 ANA2
PIC16F15376 Xplained Pro Extension

RC6
RA1
SCK RC6 RA1 ANA1
EXT1

RD4
RA0
SS RD4 RA0 ANA0 1 2

User Guide
GND
GND
GND GND ID GND

RB0
RD7
TX RB0 RD7 RA1 AN PWM RA4 RA1 RA2

RB3
RD6
RX RB3 RD6 RC7 RST INT RB4 RC7 RD5

RB4
RD5
RB4 RD5 RD6 CS RX RB3 RA4 RA5

RC7
RB5
RC7 RB5 RC6 SCK TX RB0 RB4 RD7

RD0
TX RD0 (RC1) SOSCI RC5 RB1 RB2 RB1

(RC1)
MISO SCL

RD1
RX RD1 (RC0) SOSCO RC4 RB2 RB3 RB0

(RC0)
MOSI SDA

RE1

RD2
RD2 RE1 +3.3V +3.3V +5V +5V RD6 RC4
LED0

RE0

RD3
RD3 RE0 LED0 GND GND 2 GND GND RC5 RC6

GND
GND
GND SW0 GND GND +3.3V
19 20

50002900B-page 23
Appendix
PIC16F15376 Curiosity Nano
PIC16F15376 Curiosity Nano
Appendix

7.4 Connecting External Debuggers


Even though there is an on-board debugger, external debuggers can be connected directly to the PIC16F15376
Curiosity Nano to program/debug the PIC16F15376. The on-board debugger keeps all the pins connected to the
PIC16F15376 and board edge in tri-state when not actively used. Therefore, the on-board debugger will not interfere
with any external debug tools.

Figure 7-5. Connecting the MPLAB PICkit 4 In-Circuit Debugger/Programmer to PIC16F15376 Curiosity
Nano

1 = MCLR

MPLAB® PICkit™ 4 2 = VDD


3 = Ground
4 = PGD
5 = PGC
6 = Unused
7 = Unused
8 = Unused

8 7 6 5 4 3 2 1

MCLR
VDD
Ground
CLOCK DATA

USB

PS LED
NC VBUS
ID VOFF
CDC RX DEBUGGER DBG3
CDC TX DBG0
DBG1 GND
DBG2 CURIOSITY NANO VTG

The MPLAB PICkit 4 In-circuit Debugger/Programmer is capable of delivering high voltage on the MCLR
CAUTION
pin. R110 can be permanently damaged by the high voltage. If R110 is broken, the on-board debugger can
not enter programming mode of the PIC16F15376, and will typically fail at reading the device ID.

To avoid contention between the external debugger and the on-board debugger, do not start any
CAUTION
programming/debug operation with the on-board debugger through Microchip MPLAB® X or mass storage
programming while the external tool is active.

© 2019 Microchip Technology Inc. User Guide 50002900B-page 24


PIC16F15376 Curiosity Nano

The Microchip Website


Microchip provides online support via our website at http://www.microchip.com/. This website is used to make files
and 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’s
guides and hardware support documents, latest software releases and archived software
• General Technical Support – Frequently Asked Questions (FAQs), technical support requests, online
discussion groups, Microchip design partner program member listing
• Business of Microchip – Product selector and ordering guides, latest Microchip press releases, listing of
seminars and events, listings of Microchip sales offices, distributors and factory representatives

Product Change Notification Service


Microchip’s product change notification service helps keep customers current on Microchip products. Subscribers will
receive email notification whenever there are changes, updates, revisions or errata related to a specified product
family or development tool of interest.
To register, go to http://www.microchip.com/pcn and follow the registration instructions.

Customer Support
Users 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 to
help 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 Feature


Note the following details of the code protection feature on Microchip devices:
• Microchip products meet the specification contained in their particular Microchip Data Sheet.
• Microchip believes that its family of products is one of the most secure families of its kind on the market today,
when used in the intended manner and under normal conditions.
• There are dishonest and possibly illegal methods used to breach the code protection feature. All of these
methods, to our knowledge, require using the Microchip products in a manner outside the operating
specifications contained in Microchip’s Data Sheets. Most likely, the person doing so is engaged in theft of
intellectual property.
• Microchip is willing to work with the customer who is concerned about the integrity of their code.
• Neither Microchip nor any other semiconductor manufacturer can guarantee the security of their code. Code
protection does not mean that we are guaranteeing the product as “unbreakable.”
Code protection is constantly evolving. We at Microchip are committed to continuously improving the code protection
features of our products. Attempts to break Microchip’s code protection feature may be a violation of the Digital
Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you
may have a right to sue for relief under that Act.

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

© 2019 Microchip Technology Inc. User Guide 50002900B-page 25


PIC16F15376 Curiosity Nano

your specifications. MICROCHIP MAKES NO REPRESENTATIONS OR WARRANTIES OF ANY KIND WHETHER


EXPRESS OR IMPLIED, WRITTEN OR ORAL, STATUTORY OR OTHERWISE, RELATED TO THE INFORMATION,
INCLUDING BUT NOT LIMITED TO ITS CONDITION, QUALITY, PERFORMANCE, MERCHANTABILITY OR
FITNESS FOR PURPOSE. Microchip disclaims all liability arising from this information and its use. Use of Microchip
devices 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 such
use. No licenses are conveyed, implicitly or otherwise, under any Microchip intellectual property rights unless
otherwise stated.

Trademarks
The Microchip name and logo, the Microchip logo, Adaptec, AnyRate, AVR, AVR logo, AVR Freaks, BesTime,
BitCloud, chipKIT, chipKIT logo, CryptoMemory, CryptoRF, dsPIC, FlashFlex, flexPWR, HELDO, IGLOO, JukeBlox,
KeeLoq, Kleer, LANCheck, LinkMD, maXStylus, maXTouch, MediaLB, megaAVR, Microsemi, Microsemi logo, MOST,
MOST logo, MPLAB, OptoLyzer, PackeTime, PIC, picoPower, PICSTART, PIC32 logo, PolarFire, Prochip Designer,
QTouch, SAM-BA, SenGenuity, SpyNIC, SST, SST Logo, SuperFlash, Symmetricom, SyncServer, Tachyon,
TempTrackr, TimeSource, tinyAVR, UNI/O, Vectron, and XMEGA are registered trademarks of Microchip Technology
Incorporated in the U.S.A. and other countries.
APT, ClockWorks, The Embedded Control Solutions Company, EtherSynch, FlashTec, Hyper Speed Control,
HyperLight Load, IntelliMOS, Libero, motorBench, mTouch, Powermite 3, Precision Edge, ProASIC, ProASIC Plus,
ProASIC Plus logo, Quiet-Wire, SmartFusion, SyncWorld, Temux, TimeCesium, TimeHub, TimePictra, TimeProvider,
Vite, WinPath, and ZL are registered trademarks of Microchip Technology Incorporated in the U.S.A.
Adjacent Key Suppression, AKS, Analog-for-the-Digital Age, Any Capacitor, AnyIn, AnyOut, BlueSky, BodyCom,
CodeGuard, CryptoAuthentication, CryptoAutomotive, CryptoCompanion, CryptoController, dsPICDEM,
dsPICDEM.net, Dynamic Average Matching, DAM, ECAN, EtherGREEN, In-Circuit Serial Programming, ICSP,
INICnet, Inter-Chip Connectivity, JitterBlocker, KleerNet, KleerNet logo, memBrain, Mindi, MiWi, MPASM, MPF,
MPLAB Certified logo, MPLIB, MPLINK, MultiTRAK, NetDetach, Omniscient Code Generation, PICDEM,
PICDEM.net, PICkit, PICtail, PowerSmart, PureSilicon, QMatrix, REAL ICE, Ripple Blocker, SAM-ICE, Serial Quad
I/O, SMART-I.S., SQI, SuperSwitcher, SuperSwitcher II, Total Endurance, TSHARC, USBCheck, VariSense,
ViewSpan, WiperLock, Wireless DNA, and ZENA are trademarks of Microchip Technology Incorporated in the U.S.A.
and other countries.
SQTP is a service mark of Microchip Technology Incorporated in the U.S.A.
The Adaptec logo, Frequency on Demand, Silicon Storage Technology, and Symmcom are registered trademarks of
Microchip Technology Inc. in other countries.
GestIC is a registered trademark of Microchip Technology Germany II GmbH & Co. KG, a subsidiary of Microchip
Technology Inc., in other countries.
All other trademarks mentioned herein are property of their respective companies.
© 2019, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.
ISBN: 978-1-5224-5097-9

Quality Management System


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

© 2019 Microchip Technology Inc. User Guide 50002900B-page 26


Worldwide Sales and Service
AMERICAS ASIA/PACIFIC ASIA/PACIFIC EUROPE
Corporate Office Australia - Sydney India - Bangalore Austria - Wels
2355 West Chandler Blvd. Tel: 61-2-9868-6733 Tel: 91-80-3090-4444 Tel: 43-7242-2244-39
Chandler, AZ 85224-6199 China - Beijing India - New Delhi Fax: 43-7242-2244-393
Tel: 480-792-7200 Tel: 86-10-8569-7000 Tel: 91-11-4160-8631 Denmark - Copenhagen
Fax: 480-792-7277 China - Chengdu India - Pune Tel: 45-4450-2828
Technical Support: Tel: 86-28-8665-5511 Tel: 91-20-4121-0141 Fax: 45-4485-2829
http://www.microchip.com/support China - Chongqing Japan - Osaka Finland - Espoo
Web Address: Tel: 86-23-8980-9588 Tel: 81-6-6152-7160 Tel: 358-9-4520-820
http://www.microchip.com China - Dongguan Japan - Tokyo France - Paris
Atlanta Tel: 86-769-8702-9880 Tel: 81-3-6880- 3770 Tel: 33-1-69-53-63-20
Duluth, GA China - Guangzhou Korea - Daegu Fax: 33-1-69-30-90-79
Tel: 678-957-9614 Tel: 86-20-8755-8029 Tel: 82-53-744-4301 Germany - Garching
Fax: 678-957-1455 China - Hangzhou Korea - Seoul Tel: 49-8931-9700
Austin, TX Tel: 86-571-8792-8115 Tel: 82-2-554-7200 Germany - Haan
Tel: 512-257-3370 China - Hong Kong SAR Malaysia - Kuala Lumpur Tel: 49-2129-3766400
Boston Tel: 852-2943-5100 Tel: 60-3-7651-7906 Germany - Heilbronn
Westborough, MA China - Nanjing Malaysia - Penang Tel: 49-7131-72400
Tel: 774-760-0087 Tel: 86-25-8473-2460 Tel: 60-4-227-8870 Germany - Karlsruhe
Fax: 774-760-0088 China - Qingdao Philippines - Manila Tel: 49-721-625370
Chicago Tel: 86-532-8502-7355 Tel: 63-2-634-9065 Germany - Munich
Itasca, IL China - Shanghai Singapore Tel: 49-89-627-144-0
Tel: 630-285-0071 Tel: 86-21-3326-8000 Tel: 65-6334-8870 Fax: 49-89-627-144-44
Fax: 630-285-0075 China - Shenyang Taiwan - Hsin Chu Germany - Rosenheim
Dallas Tel: 86-24-2334-2829 Tel: 886-3-577-8366 Tel: 49-8031-354-560
Addison, TX China - Shenzhen Taiwan - Kaohsiung Israel - Ra’anana
Tel: 972-818-7423 Tel: 86-755-8864-2200 Tel: 886-7-213-7830 Tel: 972-9-744-7705
Fax: 972-818-2924 China - Suzhou Taiwan - Taipei Italy - Milan
Detroit Tel: 86-186-6233-1526 Tel: 886-2-2508-8600 Tel: 39-0331-742611
Novi, MI China - Wuhan Thailand - Bangkok Fax: 39-0331-466781
Tel: 248-848-4000 Tel: 86-27-5980-5300 Tel: 66-2-694-1351 Italy - Padova
Houston, TX China - Xian Vietnam - Ho Chi Minh Tel: 39-049-7625286
Tel: 281-894-5983 Tel: 86-29-8833-7252 Tel: 84-28-5448-2100 Netherlands - Drunen
Indianapolis China - Xiamen Tel: 31-416-690399
Noblesville, IN Tel: 86-592-2388138 Fax: 31-416-690340
Tel: 317-773-8323 China - Zhuhai Norway - Trondheim
Fax: 317-773-5453 Tel: 86-756-3210040 Tel: 47-72884388
Tel: 317-536-2380 Poland - Warsaw
Los Angeles Tel: 48-22-3325737
Mission Viejo, CA Romania - Bucharest
Tel: 949-462-9523 Tel: 40-21-407-87-50
Fax: 949-462-9608 Spain - Madrid
Tel: 951-273-7800 Tel: 34-91-708-08-90
Raleigh, NC Fax: 34-91-708-08-91
Tel: 919-844-7510 Sweden - Gothenberg
New York, NY Tel: 46-31-704-60-40
Tel: 631-435-6000 Sweden - Stockholm
San Jose, CA Tel: 46-8-5090-4654
Tel: 408-735-9110 UK - Wokingham
Tel: 408-436-4270 Tel: 44-118-921-5800
Canada - Toronto Fax: 44-118-921-5820
Tel: 905-695-1980
Fax: 905-695-2078

© 2019 Microchip Technology Inc. User Guide 50002900B-page 27

You might also like