Microchip Technology PIC16F15244 Curiosity Nano Hardware User's Manual

Microchip Technology PIC16F15244 Curiosity Nano Hardware User's Manual

Advertisement

Quick Links

PIC16F15244 Curiosity Nano Hardware User Guide

Preface

The PIC16F15244 Curiosity Nano Evaluation Kit is a hardware platform to evaluate microcontrollers in the
PIC16F152xx family. This board has the PIC16F15244 microcontroller (MCU) mounted.
®
Supported by MPLAB
X IDE, the board provides easy access to the features of the PIC16F15244 to explore how to
integrate 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
- Software to discover, configure, develop, program, and debug Microchip microcontrollers.
Code examples on GitHub
PIC16F15244 website
PIC16F15244 Curiosity Nano website
©
2020 Microchip Technology Inc.
PIC16F15244 Curiosity Nano
- Get started with code examples.
- Find documentation, data sheets, sample, and purchase microcontrollers.
- Kit information, latest user guide, and design documentation.
User Guide
DS50003045A-page 1

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the PIC16F15244 Curiosity Nano and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Microchip Technology PIC16F15244 Curiosity Nano

  • Page 1: Preface

    PIC16F15244 Curiosity Nano PIC16F15244 Curiosity Nano Hardware User Guide Preface The PIC16F15244 Curiosity Nano Evaluation Kit is a hardware platform to evaluate microcontrollers in the PIC16F152xx family. This board has the PIC16F15244 microcontroller (MCU) mounted. ® Supported by MPLAB X IDE, the board provides easy access to the features of the PIC16F15244 to explore how to integrate the device into a custom design.
  • Page 2: Table Of Contents

    Hardware Modifications....................20 3.5.4. Connecting to External Microcontrollers..............21 3.6. Connecting External Debuggers....................22 Hardware User Guide........................... 24 4.1. Connectors..........................24 4.1.1. PIC16F15244 Curiosity Nano Pinout................24 4.1.2. Using Pin Headers.......................24 4.2. Peripherals..........................25 4.2.1. LED..........................25 4.2.2. Mechanical Switch....................... 26 4.2.3.
  • Page 3 PIC16F15244 Curiosity Nano Appendix............................... 30 7.1. Schematic...........................30 7.2. Assembly Drawing........................32 ™ 7.3. Curiosity Nano Base for Click boards ..................33 7.4. Disconnecting the On-Board Debugger..................34 The Microchip Website..........................36 Product Change Notification Service......................36 Customer Support............................36 Microchip Devices Code Protection Feature....................36 Legal Notice..............................
  • Page 4: Introduction

    – 1.8–5.1V output voltage (limited by USB input voltage) – 500 mA maximum output current (limited by ambient temperature and output voltage) Board Overview The Microchip PIC16F15244 Curiosity Nano Evaluation Kit is a hardware platform to evaluate the PIC16F15244 microcontroller. Figure 1-1. PIC16F15244 Curiosity Nano Board Overview...
  • Page 5: Getting Started

    Tip:  The Kit Window can be opened in MPLAB X IDE through the menu bar Window > Kit Window. Design Documentation and Relevant Links The following list contains links to the most relevant documents and software for the PIC16F15244 Curiosity Nano board: ®...
  • Page 6 Microchip development 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 this kit on Microchip Direct. User Guide DS50003045A-page 6 ©...
  • Page 7: Curiosity Nano

    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 and Status LED (marked PS) on the PIC16F15244 Curiosity Nano board. The table below shows how the LED is controlled in different operation modes.
  • Page 8: Virtual Serial Port (Cdc)

    PIC16F15244 Curiosity Nano Curiosity Nano Remember:  Keep the debugger’s firmware up-to-date. Firmware upgrades are automatically done when ® using MPLAB X IDE. 3.1.2 Virtual Serial Port (CDC) The virtual serial port (CDC) is a general purpose serial bridge between a host PC and a target device.
  • Page 9 PIC16F15244 Curiosity Nano Curiosity Nano Info:  For all operating systems: Be sure to use a terminal emulator that supports DTR signaling. See 3.1.2.4 Signaling. 3.1.2.3 Limitations Not all UART features are implemented in the on-board debugger CDC. The constraints are outlined here: •...
  • Page 10: Mass Storage Device

    PIC16F15244 Curiosity Nano Curiosity Nano 3.1.2.5 Advanced Use CDC Override Mode In normal operation, the on-board debugger is a true UART bridge between the host and the device. However, in certain use cases, the on-board debugger can override the basic operating mode and use the CDC TX and RX pins for other purposes.
  • Page 11 PIC16F15244 Curiosity Nano Curiosity Nano ® • Write access for programming Intel HEX formatted files into the target device’s memory • Write access for simple text files for utility purposes 3.1.3.1 Mass Storage Device Implementation The on-board debugger implements a highly optimized variant of the FAT12 file system that has several limitations, partly due to the nature of FAT12 itself and optimizations made to fulfill its purpose for its embedded application.
  • Page 12: Data Gateway Interface (Dgi)

    X IDE or a stand-alone application that can be used ® in parallel with MPLAB X IDE. Although DGI encompasses several physical data interfaces, the PIC16F15244 Curiosity Nano implementation includes logic analyzer channels: • One debug GPIO channel (also known as DGI GPIO) 3.1.4.1...
  • Page 13: Curiosity Nano Standard Pinout

    PIC16F15244 Curiosity Nano Curiosity Nano ® Figure 3-2. Monitoring Debug GPIO with MPLAB Data Visualizer Debug GPIO channels are timestamped, so the resolution of DGI GPIO events is determined by the resolution of the DGI timestamp module. Important:  Although bursts of higher-frequency signals can be captured, the useful frequency range of signals for which debug GPIO can be used is up to about 2 kHz.
  • Page 14: Power Supply

    PIC16F15244 Curiosity Nano Curiosity Nano ...continued Debugger Signal Target MCU Description VBUS — VBUS voltage for external use VOFF — Voltage Off input. Disables the target regulator and target voltage when pulled low. — Target voltage — Common ground Figure 3-3. Curiosity Nano Standard Pinout...
  • Page 15 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 PIC16F15244 microcontroller. The voltage limits configured in the on-board debugger on PIC16F15244 Curiosity Nano are 1.8– 5.5V.
  • Page 16: External Supply

    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.
  • Page 17: Power Supply Exceptions

    PIC16F15244 Curiosity Nano Curiosity Nano Figure 3-6. VBUS Output Voltage vs. Current 3.3.4 Power Supply Exceptions This is a summary of most exceptions that can occur with the power supply. Target Voltage Shuts Down This can happen if the target section draws too much current at a given voltage. This will cause the thermal shutdown safety feature of the MIC5353 regulator to kick in.
  • Page 18: Low-Power Measurement

    PIC16F15244 Curiosity Nano Curiosity Nano No Target Voltage and PS LED is Lit 1 This occurs if the target voltage is set to 0.0V. To fix this, set the target voltage to a value within the specified voltage range for the target device.
  • Page 19: Programming External Microcontrollers

    7.4 Disconnecting the On-Board Debugger. Programming External Microcontrollers The on-board debugger on PIC16F15244 Curiosity Nano can be used to program and debug 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 Atmel Studio.
  • Page 20: Hardware Modifications

    PIC16F15244 Curiosity Nano Curiosity Nano Figure 3-8. Hide Unsupported Devices Info:  Atmel Studio allows any microcontroller and interface to be selected when the Hide unsupported devices setting is set to False, also microcontrollers and interfaces which are not supported by the on- board debugger.
  • Page 21: Connecting To External Microcontrollers

    DBG3 is an open-drain connection and requires a pull-up resistor to function. PIC16F15244 Curiosity Nano has pull-down resistors R204 and R205 connected to the ICSP data and clock signal (DBG0 and DBG1). There is also a pull-up resistor R200 connected to the #MCLR signal (DBG3). The location of pull resistors is shown in the 7.2 Assembly Drawing...
  • Page 22: Connecting External Debuggers

    PIC16F15244 Curiosity Nano Curiosity Nano Figure 3-10. Curiosity Nano Standard Pinout PS LED VBUS VOFF CDC RX DBG3 DEBUGGER CDC TX DBG0 DBG1 DBG2 CURIOSITY NANO Table 3-4. Programming and Debugging Interfaces ™ Curiosity Nano Pin UPDI ICSP DBG0 UPDI DATA SWDIO DBG1 —...
  • Page 23 PIC16F15244 Curiosity Nano Curiosity Nano ™ ® Figure 3-11. Connecting the MPLAB PICkit 4 In-Circuit Debugger/Programmer to PIC16F15244 Curiosity Nano 1 = MCLR MPLAB® PICkit™ 4 2 = VDD 3 = Ground 4 = PGD 5 = PGC 6 = Unused...
  • Page 24: Hardware User Guide

    Using Pin Headers The edge connector footprint on PIC16F15244 Curiosity Nano has a staggered design where each hole is shifted 8 mil (~0.2 mm) off-center. The hole shift allows the use of regular 100 mil pin headers on the board without soldering.
  • Page 25: Peripherals

    Peripherals 4.2.1 There is one yellow user LED available on the PIC16F15244 Curiosity Nano board 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...
  • Page 26: Mechanical Switch

    An I2C bus requires pull-up resistors to function. Should no other device on the I2C bus have them, the PIC16F15244 Curiosity Nano provides footprints for two 0402 SMD resistors (not mounted) so that the pull-ups can be soldered on. These resistors will pull the I2C lines to VCC_TARGET.
  • Page 27 PIC16F15244 Curiosity Nano Hardware User Guide Table 4-4. On-Board Debugger Connections PIC16F15244 Debugger Pin Function Shared Functionality CDC TX UART RX (PIC16F15244 RX line) Edge connector CDC RX UART TX (PIC16F15244 TX line) Edge connector DBG0 ICSPDAT Edge connector DBG1 ICSPCLK...
  • Page 28: Hardware Revision History And Known Issues

    Identifying Product ID and Revision The revision and product identifier of the PIC16F15244 Curiosity Nano board can be found in two ways: Either by ® utilizing the MPLAB X IDE Kit Window or by looking at the sticker on the bottom side of the PCB.
  • Page 29: Document Revision History

    PIC16F15244 Curiosity Nano Document Revision History Document Revision History Revision Date Description 09/2020 Initial document release User Guide DS50003045A-page 29 © 2020 Microchip Technology Inc.
  • Page 30: Appendix

    PIC16F15244 Curiosity Nano Appendix Appendix Schematic Figure 7-1. PIC16F15244 Curiosity Nano Schematic User Guide DS50003045A-page 30 © 2020 Microchip Technology Inc.
  • Page 31 PIC16F15244 Curiosity Nano Appendix User Guide DS50003045A-page 31 © 2020 Microchip Technology Inc.
  • Page 32: Assembly Drawing

    PIC16F15244 Curiosity Nano Appendix Assembly Drawing Figure 7-2. PIC16F15244 Curiosity Nano Assembly Drawing Top PIC® Figure 7-3. PIC16F15244 Curiosity Nano Assembly Drawing Bottom User Guide DS50003045A-page 32 © 2020 Microchip Technology Inc.
  • Page 33: Curiosity Nano Base For Click Boards

    PIC16F15244 Curiosity Nano Appendix ™ Curiosity Nano Base for Click boards Figure 7-4. PIC16F15244 Curiosity Nano Pinout Mapping VBUS DBG3 VOFF DBG0 CDCTX DBG2 CDCRX DBG1 User Guide DS50003045A-page 33 © 2020 Microchip Technology Inc.
  • Page 34: Disconnecting The On-Board Debugger

    PIC16F15244 Curiosity Nano Appendix Disconnecting the On-Board Debugger The on-board debugger and level shifters can be completely disconnected from the PIC16F15244. The block diagram below shows all connections between the debugger and the PIC16F15244. The rounded boxes represent connections to the board edge. The signal names shown are also printed in silkscreen on the bottom side of the board.
  • Page 35 PIC16F15244 Curiosity Nano Appendix Figure 7-6. On-Board Debugger Connection Cut Straps GPIO straps (bottom side) Power Supply strap (top side) User Guide DS50003045A-page 35 © 2020 Microchip Technology Inc.
  • Page 36: The Microchip Website

    PIC16F15244 Curiosity Nano The Microchip Website Microchip provides online support via our website at 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 •...
  • Page 37: Legal Notice

    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.
  • Page 38: Quality Management System

    PIC16F15244 Curiosity Nano Quality Management System For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality. User Guide DS50003045A-page 38 © 2020 Microchip Technology Inc.
  • Page 39: Worldwide Sales And Service

    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 User Guide DS50003045A-page 39 © 2020 Microchip Technology Inc.

Table of Contents