background image

Table 4-1. LED Connection

PIC16F15276 Pin

Function

Shared Functionality

RE2

Yellow LED0

Edge connector

4.2.2 

Mechanical Switch

The PIC16F15276 Curiosity Nano board has one mechanical switch, which is a generic user-configurable switch.
Pressing the switch will drive the I/O line to ground (GND).

Tip: 

 There is no externally connected pull-up resistor on the switch. Make sure that an internal pull-up

resistor is enabled on pin RB5 to use the switch.

Table 4-2. Mechanical Switch

PIC16F15276 Pin

Description

Shared Functionality

RB5

User switch (SW0)

Edge connector

On-board debugger

4.2.3 

On-Board Debugger Implementation

PIC16F15276 Curiosity Nano features an on-board debugger that can be used to program and debug the
PIC16F15276 using ICSP. The on-board debugger also includes a virtual serial port (CDC) interface over UART
and debug GPIO. MPLAB

®

 X IDE can be used as a front-end for the on-board debugger for programming and

debugging. 

MPLAB Data Visualizer

 can be used as a front-end for the CDC and debug GPIO.

4.2.3.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, since there
are little contaminations of the signals, the pins can be configured to anything the user wants.

For further information on how to use the capabilities of the on-board debugger, see 

3.1  On-Board Debugger

Overview

.

Table 4-3. On-Board Debugger Connections

PIC16F15276
Pin

Debugger Pin

Function

Shared Functionality

RB1

CDC TX

EUSART1 RX (PIC16F15276 RX
line)

Edge connector

RB0

CDC RX

EUSART1 TX (PIC16F15276 TX
line)

Edge connector

RB7

DBG0

ICSPDAT

Edge connector

RB6

DBG1

ICSPCLK

Edge connector

RB5

DBG2

GPIO0/SW0

Edge connector

SW0

RE3

DBG3

MCLR

Edge connector

 

Hardware User Guide

©

 2021 Microchip Technology Inc.

 User Guide

DS50003143A-page 25

Summary of Contents for Curiosity Nano PIC16F15276

Page 1: ...vice into a custom design The Curiosity Nano series of evaluation boards include an on board debugger No external tools are necessary to program and debug the PIC16F15276 MPLAB X IDE Software to disco...

Page 2: ...ide 23 4 1 Connectors 23 4 2 Peripherals 24 5 Hardware Revision History and Known Issues 26 5 1 Identifying Product ID and Revision 26 5 2 Revision 1 26 6 Document Revision History 27 7 Appendix 28 7...

Page 3: ...gulator controlled by the on board debugger 1 8 5 1V output voltage limited by USB input voltage 500 mA maximum output current limited by ambient temperature and output voltage 1 2 Board Overview The...

Page 4: ...board is programmed and debugged by the on board debugger and therefore no external programmer or debugger tool is required Tip If closed the Kit Window in MPLAB X IDE can be reopened through the men...

Page 5: ...lizer MPLAB Data Visualizer is a program used for processing and visualizing data The Data Visualizer can receive data from various sources such as serial ports and on board debugger s Data Gateway In...

Page 6: ...ith the target application through terminal software A Data Gateway Interface DGI for code instrumentation with logic analyzer channels debug GPIO to visualize program flow The on board debugger contr...

Page 7: ...arget Send Terminal Receive Terminal Send Info As shown in Figure 3 1 the debugger s CDC TX pin is connected to a UART RX pin on the target for receiving characters from the host computer Similarly th...

Page 8: ...earlier has the following behavior Debugger UART receiver is disabled and no further data will be transferred to the host computer Debugger UART transmitter will continue to send data that is queued...

Page 9: ...once complete Additional commands are supported with explicit baud rates CMD SEND_9600 CMD SEND_115200 CMD SEND_460800 USB Level Framing Considerations Sending data from the host to the CDC can be do...

Page 10: ...system to its original state but the target will still contain the application that has previously been programmed To erase the target device copy a text file starting with CMD ERASE onto the disk By...

Page 11: ...CMD 5V0 Sets the target voltage to 5 0V If external power is provided this has no effect Debugger firmware v1 16 or newer Info The content sent to the mass storage emulated disk triggers the commands...

Page 12: ...he timestamp counter implemented in the Curiosity Nano debugger increments at 2 MHz frequency providing a timestamp resolution of a half microsecond 3 2 Curiosity Nano Standard Pinout The 12 edge conn...

Page 13: ...V 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 PIC16F15276 Curiosity Nano Figure 3 4 Power Supp...

Page 14: ...to the board which supports a set of common target voltages See section 3 1 3 3 Special Commands for further details The MIC5353 supports a maximum current load of 500 mA It is an LDO regulator in a s...

Page 15: ...external voltage is applied without pulling the VOFF pin low and an external supply pulls the voltage lower than the monitoring window s lower limit target voltage setting 100 mV the on board debugge...

Page 16: ...ifferent From Setting This can be caused by an externally applied voltage to the VTG pin without setting the VOFF pin low If the target voltage differs more than 100 mV over under the voltage setting...

Page 17: ...rent consumption on the VBUS pin to fix this issue 3 4 Low Power Measurement Power to the PIC16F15276 is connected from the on board power supply and VTG pin through a 100 mil pin header marked with P...

Page 18: ...microcontrollers on external hardware 3 5 1 Supported Devices All external AVR microcontrollers with the UPDI interface can be programmed and debugged with the on board debugger with Microchip Studio...

Page 19: ...ot supported by the on board debugger 3 5 3 Hardware Modifications The on board debugger is connected to the PIC16F15276 by default Remove these connections before any external microcontroller can be...

Page 20: ...and level shifters actively drive data and clock signals used for programming and debugging DBG0 DBG1 and DBG2 Usually the external resistor on these signals can be ignored Pull down resistors are re...

Page 21: ...SET 3 6 Connecting External Debuggers Even though there is an on board debugger external debuggers can be connected directly to the PIC16F15276 Curiosity Nano to program debug the PIC16F15276 The on b...

Page 22: ...r Programmer is capable of delivering high voltage on the MCLR pin High voltage can permanently damage R110 If R110 is broken the on board debugger cannot enter Programming mode of the PIC16F15276 and...

Page 23: ...E0 RE0 RE1 RE1 RE2 RE2 LED0 GND GND VBUS VBUS VOFF VOFF DBG3 DBG3 RE3 MCLR DBG0 DBG0 RB7 ICSPDAT GND GND VTG VTG RD7 RD7 AND7 RD6 RD6 AND6 RD5 RD5 AND5 RD4 RD4 AND4 PWM 3 4 RD3 RD3 AND3 PWM 3 4 RD2 RD...

Page 24: ...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 in Tip For applications where the pin headers will be use...

Page 25: ...sed as a front end for the on board debugger for programming and debugging MPLAB Data Visualizer can be used as a front end for the CDC and debug GPIO 4 2 3 1 On Board Debugger Connections The table b...

Page 26: ...al number listed under kit information contain the product identifier and revision Tip If closed the Kit Window can be opened in MPLAB X IDE through the menu bar Window Kit Window The same information...

Page 27: ...6 Document Revision History Revision Date Description A 04 2021 Initial document release Document Revision History 2021 Microchip Technology Inc User Guide DS50003143A page 27...

Page 28: ...C 6 41 ADC 5 40 PWM 4 39 DEBUGGER TARGET ID 2 VOFF 47 1 21 2 22 3 23 5 27 6 28 7 29 5 31 6 32 7 33 RESERVED 1 VBUS 48 CNANO48 pin edge connector J200 RB6_ICSPCLK RE2_LED0 RC2_MOSI RC3_SCL RB2 RB1_RX R...

Page 29: ...CTRL 47k R109 DBG1 CDC_TX_CTRL CDC_RX_CTRL SWCLK REG_ADJUST DBG2_GPIO DBG3_CTRL DBG2_CTRL DBG3 1k R110 VBUS_ADC 1 2 3 DMN65D8LFB Q101 ID_SYS VOFF 1k R112 VCC_P3V3 VTG_ADC DAC MIC94163 VIN B2 VOUT A1 V...

Page 30: ...rawing Figure 7 2 PIC16F15276 Curiosity Nano Assembly Drawing Top PIC MCU b Figure 7 3 PIC16F15276 Curiosity Nano Assembly Drawing Bottom t c 4 Appendix 2021 Microchip Technology Inc User Guide DS5000...

Page 31: ...RD2 AND2 RD1 RD1 AND1 RD0 RD0 AND0 GND GND RA7 RA7 RA6 RA6 RA5 RA5 RA4 RA4 RA3 RA3 RA2 RA2 RA1 RA1 RA0 RA0 GND GND DEBUGGER PIC16F15276 Analog Debug I2C SPI UART Peripheral Port PWM Power Ground Share...

Page 32: ...utting the power supply strap will disconnect the on board power supply Tip Reconnect any cut connection by using solder Alternatively mount a 0 0402 resistor Tip When the debugger is disconnected an...

Page 33: ...Figure 7 6 On Board Debugger Connection Cut Straps GPIO straps bottom side Power Supply strap top side Appendix 2021 Microchip Technology Inc User Guide DS50003143A page 33...

Page 34: ...lp customers A listing of sales offices and locations is included in this document Technical support is available through the website at www microchip com support Microchip Devices Code Protection Fea...

Page 35: ...rFire Prochip Designer QTouch SAM BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer Tachyon TimeSource tinyAVR UNI O Vectron and XMEGA are registered trademarks of Microchip Technolo...

Page 36: ...Quality Management System For information regarding Microchip s Quality Management Systems please visit www microchip com quality 2021 Microchip Technology Inc User Guide DS50003143A page 36...

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

Reviews: