background image

Legal Notice

Information contained in this publication is provided for the sole purpose of designing with and using Microchip
products. Information 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 your specifications.

THIS INFORMATION IS PROVIDED BY MICROCHIP “AS IS”. 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 ANY IMPLIED
WARRANTIES OF NON-INFRINGEMENT, MERCHANTABILITY, AND FITNESS FOR A PARTICULAR PURPOSE
OR WARRANTIES RELATED TO ITS CONDITION, QUALITY, OR PERFORMANCE.

IN NO EVENT WILL MICROCHIP BE LIABLE FOR ANY INDIRECT, SPECIAL, PUNITIVE, INCIDENTAL OR
CONSEQUENTIAL LOSS, DAMAGE, COST OR EXPENSE OF ANY KIND WHATSOEVER RELATED TO THE
INFORMATION OR ITS USE, HOWEVER CAUSED, EVEN IF MICROCHIP HAS BEEN ADVISED OF THE
POSSIBILITY OR THE DAMAGES ARE FORESEEABLE. TO THE FULLEST EXTENT ALLOWED BY LAW,
MICROCHIP'S TOTAL LIABILITY ON ALL CLAIMS IN ANY WAY RELATED TO THE INFORMATION OR ITS USE
WILL NOT EXCEED THE AMOUNT OF FEES, IF ANY, THAT YOU HAVE PAID DIRECTLY TO MICROCHIP FOR
THE INFORMATION. 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.

©

 2020, Microchip Technology Incorporated, Printed in the U.S.A., All Rights Reserved.

ISBN: 978-1-5224-6827-1

 PIC16F15244 Curiosity Nano

©

 2020 Microchip Technology Inc.

 User Guide

DS50003045A-page 37

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Отзывы: