background image

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#

.

 PIC16F15376 Curiosity Nano

Curiosity Nano

©

 2019 Microchip Technology Inc.

 User Guide

50002900B-page 6

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Downloaded from

Arrow.com.

Содержание PIC16F15376 Curiosity Nano

Страница 1: ...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...

Страница 2: ...ls 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 A...

Страница 3: ...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...

Страница 4: ...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 Documenta...

Страница 5: ...76 Curiosity Nano on microchipDIRECT Purchase this kit on microchipDIRECT PIC16F15376 Curiosity Nano Getting Started 2019 Microchip Technology Inc User Guide 50002900B page 5 Downloaded from Arrow com...

Страница 6: ...D 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 progra...

Страница 7: ...r 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...

Страница 8: ...ze 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 direct...

Страница 9: ...C NC ID ID CDC RX CDCRX CDC TX CDCTX DBG1 DBG1 DBG2 DBG2 VBUS VBUS VOFF VOFF DBG3 DBG3 DBG0 DBG0 GND GND VTG VTG CURIOSITY NANO 3 3 Power Supply The kit is powered through the USB port and contains tw...

Страница 10: ...rd 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 per...

Страница 11: ...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 Out...

Страница 12: ...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...

Страница 13: ...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 connect...

Страница 14: ...page 14 Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloade...

Страница 15: ...ignals 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 p...

Страница 16: ...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 Th...

Страница 17: ...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 De...

Страница 18: ...vision 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 con...

Страница 19: ...rrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloaded from Arrow com Downloade...

Страница 20: ...1_SCL RC4_MOSI RC5_MISO RC6_SCK RD4_SS RD0_TX RD1_RX RD2 RD3 RB0_TX RB3_RX RB4 RC7 RE3_MCLR RB7_ICSPDAT RA7_ANA7 RA6_ANA6 RA5_ANA5 RA4_ANA4_PWM RA3_ANA3_PWM RA2_ANA2 RA1_ANA1 RA0_ANA0 RD7 RD6 RD5 RB5...

Страница 21: ...PIO DBG3_CTRL DBG2_CTRL UPDI UPDI GPIO GPIO RESET Signal DBG0 DBG1 DBG2 DBG3 ICSP Interface DAT CLK GPIO MCLR DBG3 CDC TX CDC RX UART RX UART TX UART RX UART TX TARGET TARGET 1k 1k R110 VBUS_ADC DMN65...

Страница 22: ...0 0 0 4 1 P A J 2 0 0 0 4 0 P A J 2 0 0 0 3 9 P A J 2 0 0 0 3 8 P A J 2 0 0 0 3 7 P A J 2 0 0 0 3 6 P A J 2 0 0 0 3 5 P A J 2 0 0 0 3 4 P A J 2 0 0 0 3 3 P A J 2 0 0 0 3 2 P A J 2 0 0 0 3 1 P A J 2 0...

Страница 23: ...GND GND 3 AN PWM RST INT CS RX SCK TX MISO SCL MOSI SDA 3 3V 5V GND GND Xplained Pro Extension EXT1 1 2 19 20 Curiosity Nano Base for click boards TM RA0 RA3 RA7 RA6 RD4 RC3 RC6 RC2 RC5 RB1 RC4 RB2 3...

Страница 24: ...the on board debugger can not enter programming mode of the PIC16F15376 and will typically fail at reading the device ID CAUTION To avoid contention between the external debugger and the on board deb...

Страница 25: ...ne 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 pro...

Страница 26: ...e CryptoCompanion CryptoController dsPICDEM dsPICDEM net Dynamic Average Matching DAM ECAN EtherGREEN In Circuit Serial Programming ICSP INICnet Inter Chip Connectivity JitterBlocker KleerNet KleerNet...

Страница 27: ...ng Tel 60 4 227 8870 Philippines Manila Tel 63 2 634 9065 Singapore Tel 65 6334 8870 Taiwan Hsin Chu Tel 886 3 577 8366 Taiwan Kaohsiung Tel 886 7 213 7830 Taiwan Taipei Tel 886 2 2508 8600 Thailand B...

Отзывы: