background image

Info: 

 The on-board debugger has a monitoring window of VCC_TARGET±100 mV. If the external voltage

is measured under this limit, the on-board debugger status LED will blink rapidly. If the external voltage is
measured above this limit, the on-board debugger status LED will continue to shine. If the external voltage
is removed, the status LED will start to blink rapidly until the on-board debugger detects the new situation
and turns the target voltage regulator back on.

3.3.2 

External Supply

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

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

The VOFF pin can be tied low/let go at any time. This will be detected by a pin-change interrupt to the on-board
debugger, which controls the target voltage regulator accordingly.

WARNING

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

WARNING

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

WARNING

The absolute maximum external voltage is 5.5V for the on-board level shifters, and the standard operating
condition of the PIC16F15244 is 1.8–5.5V. Applying a higher voltage may cause permanent damage to the
board.

Info: 

 If an 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
debugger status LED will blink rapidly and shut the on-board regulator off. If an external voltage is
suddenly removed when the VOFF pin is not pulled low, the status LED will start to blink rapidly, until the
on-board debugger detects the new situation and switches the target voltage regulator back on.

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

Info: 

 In addition to the power consumed by the PIC16F15244 and its peripherals, approximately 100 µA

will be drawn from any external power source to power the on-board level shifters and voltage monitor
circuitry when a USB cable is plugged in the DEBUG connector on the board. When a USB cable is not
plugged in, some current is used to supply the level shifters voltage pins, which have a worst-case current
consumption of approximately 5 µA. Typical values may be as low as 100 nA.

3.3.3 

VBUS Output Pin

PIC16F15244 Curiosity Nano has a VBUS output pin that 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.

 PIC16F15244 Curiosity Nano

Curiosity Nano

©

 2020 Microchip Technology Inc.

 User Guide

DS50003045A-page 16

Summary of Contents for PIC16F15244 Curiosity Nano

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

Page 2: ...ceptions 17 3 4 Low Power Measurement 18 3 5 Programming External Microcontrollers 19 3 5 1 Supported Devices 19 3 5 2 Software Configuration 19 3 5 3 Hardware Modifications 20 3 5 4 Connecting to Ext...

Page 3: ...Board Debugger 34 The Microchip Website 36 Product Change Notification Service 36 Customer Support 36 Microchip Devices Code Protection Feature 36 Legal Notice 37 Trademarks 37 Quality Management Syst...

Page 4: ...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 Microchip PIC16F15244 Curi...

Page 5: ...t relevant documents and software for the PIC16F15244 Curiosity Nano board MPLAB X IDE MPLAB X IDE is a software program that runs on a PC Windows Mac OS Linux to develop applications for Microchip mi...

Page 6: ...lopment boards ready to be adapted and extended PIC16F15244 Curiosity Nano website Kit information latest user guide and design documentation PIC16F15244 Curiosity Nano on Microchip Direct Purchase th...

Page 7: ...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 controls a Power an...

Page 8: ...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 the debugger...

Page 9: ...he following behavior Debugger UART receiver is disabled so no further data will be transferred to the host computer Debugger UART transmitter will continue to send data that is queued for sending but...

Page 10: ...th 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 done byte wise or in blocks which will be chunked int...

Page 11: ...eviously 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 re...

Page 12: ...provided this has no effect Debugger firmware v1 16 or newer Info The commands listed here are triggered by the content being sent to the mass storage emulated disk and no feedback is provided in the...

Page 13: ...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 connections close...

Page 14: ...cording to the USB specification and will limit the maximum voltage to the target The figure below shows the entire power supply system on PIC16F15244 Curiosity Nano Figure 3 4 Power Supply Block Diag...

Page 15: ...rd This 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 small packag...

Page 16: ...xternal 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 debugger...

Page 17: ...t 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 it will...

Page 18: ...ion on the VBUS pin to fix this issue 3 4 Low Power Measurement Power to the PIC16F15244 is connected from the on board power supply and VTG pin through a 100 mil pin header marked with POWER in silks...

Page 19: ...ntrollers 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 Atmel Studio External SA...

Page 20: ...on board debugger 3 5 3 Hardware Modifications The on board debugger is connected to the PIC16F15244 by default These connections must be removed before any external microcontroller can be programmed...

Page 21: ...rs actively drive data and clock signals DBG0 DBG1 and DBG2 used for programming and debugging and in most cases the external resistor on these signals can be ignored Pull down resistors are required...

Page 22: ...ting External Debuggers Even though there is an on board debugger external debuggers can be connected directly to the PIC16F15244 Curiosity Nano to program debug the PIC16F15244 The on board debugger...

Page 23: ...able of delivering high voltage on the MCLR 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 PIC16F15244 and will t...

Page 24: ...GGER PIC16F15244 Analog Debug I2C SPI UART Peripheral Port PWM Power Ground Shared pin PIC16F15244 Curiosity Nano Info Peripheral signals shown in the image above such as UART I2C SPI ADC PWM and othe...

Page 25: ...e 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...

Page 26: ...g Table 4 3 PIC16F15244 Curiosity Nano I2C pins PIC16F15244 Pin Description Shared Functionality RB4 I2C SDA Edge connector RB6 I2C SCL Edge connector 4 2 4 On Board Debugger Implementation PIC16F1524...

Page 27: ...6F15244 RX line Edge connector RC0 CDC RX UART TX PIC16F15244 TX line Edge connector RA0 DBG0 ICSPDAT Edge connector RA1 DBG1 ICSPCLK Edge connector RC2 DBG2 SW0 GPIO Edge connector SW0 RA3 DBG3 MCLR...

Page 28: ...der kit information contain the product identifier and revision Tip The Kit Window can be opened in MPLAB X IDE through the menu bar Window Kit Window The same information can be found on the sticker...

Page 29: ...Document Revision History Revision Date Description A 09 2020 Initial document release PIC16F15244 Curiosity Nano Document Revision History 2020 Microchip Technology Inc User Guide DS50003045A page 2...

Page 30: ...DBG2 DBG1 DBG3 DBG2 DEBUGGER CONNECTIONS DBG1 DBG3 DBG0 VOFF ID_SYS ID_SYS VOFF TARGET BULK PROG DEBUG Pull 47k R204 47k R205 GND DBG0 DBG1 VCC_TARGET MCLR RESET Pull RC2_SW0_ANC2 RA2_LED0_ANA2 CNANO3...

Page 31: ...1k R110 VBUS_ADC 1 2 3 DMN65D8LFB Q101 VCC VOFF VTG_ADC DAC MIC94163 VIN B2 VOUT A1 VIN A2 EN C2 GND C1 VOUT B1 U108 GND ID_SYS VTG_EN VTG_EN VBUS_ADC SWDIO TP101 GND SWDIO VOFF 47k R111 GND DEBUGGER...

Page 32: ...0 2 0 4 P A J 1 0 2 0 3 P A J 1 0 2 0 2 P A J 1 0 2 0 1 C O J 1 0 2 P A J 1 0 5 0 6 P A J 1 0 5 0 7 P A J 1 0 5 0 9 P A J 1 0 5 0 8 P A J 1 0 5 0 1 0 P A J 1 0 5 0 1 1 P A J 1 0 5 0 5 P A J 1 0 5 0 4...

Page 33: ...5 RB7 RB7 ANB7 GND GND DEBUGGER PIC16F15244 Analog Debug I2C SPI UART Peripheral Port PWM Power Ground Shared pin PIC16F15244 Curiosity Nano 1 AN PWM RST INT CS RX SCK TX MISO SCL MOSI SDA 3 3V 5V GND...

Page 34: ...strap will disconnect the on board power supply Tip Any connection that is cut can be reconnected using solder Alternatively a 0 0402 resistor can be mounted Tip When the debugger is disconnected an...

Page 35: ...Figure 7 6 On Board Debugger Connection Cut Straps GPIO straps bottom side Power Supply strap top side PIC16F15244 Curiosity Nano Appendix 2020 Microchip Technology Inc User Guide DS50003045A page 35...

Page 36: ...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 Feature Note the...

Page 37: ...LAB OptoLyzer PackeTime PIC picoPower PICSTART PIC32 logo PolarFire Prochip Designer QTouch SAM BA SenGenuity SpyNIC SST SST Logo SuperFlash Symmetricom SyncServer Tachyon TempTrackr TimeSource tinyAV...

Page 38: ...anagement System For information regarding Microchip s Quality Management Systems please visit www microchip com quality PIC16F15244 Curiosity Nano 2020 Microchip Technology Inc User Guide DS50003045A...

Page 39: ...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: