Microchip Technology AVR128DB48 Curiosity Nano Hardware User's Manual

Microchip Technology AVR128DB48 Curiosity Nano Hardware User's Manual

Table of Contents

Advertisement

Quick Links

AVR128DB48 Curiosity Nano Hardware User Guide

Preface

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

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Microchip Technology AVR128DB48 Curiosity Nano

  • Page 1: Preface

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

    AVR128DB48 Curiosity Nano Table of Contents Preface................................1 Introduction............................. 4 1.1. Features............................4 1.2. Board Overview..........................4 Getting Started............................5 2.1. Quick Start............................5 2.1.1. Driver Installation......................5 2.1.2. Kit Window........................5 ® 2.1.3. MPLAB X IDE Device Family Packs................5 2.1.4. Atmel Studio 7 Device Family Pack................6 2.2.
  • Page 3 AVR128DB48 Curiosity Nano 5.1. Connectors..........................26 5.1.1. AVR128DB48 Curiosity Nano Pinout................26 5.1.2. Using Pin Headers.......................26 5.1.3. Multi-Voltage I/O......................27 5.1.4. Operational Amplifiers....................28 5.2. Peripherals..........................29 5.2.1. LED..........................29 5.2.2. Mechanical Switch....................... 29 5.2.3. 32.768 kHz Crystal...................... 29 5.2.4. 16.00 MHz Crystal....................... 30 5.2.5.
  • 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 AVR128DB48 Curiosity Nano Evaluation Kit is a hardware platform to evaluate the AVR128DB48 microcontroller. Figure 1-1. AVR128DB48 Curiosity Nano Board Overview...
  • Page 5: Getting Started

    AVR128DB48 Curiosity Nano Getting Started Getting Started Quick Start Steps to start exploring the AVR128DB48 Curiosity Nano board: ® ® Download Microchip MPLAB X IDE MPLAB XC C Compiler, or download Atmel Studio ® Launch MPLAB X IDE or Atmel Studio 7.
  • Page 6: Atmel Studio 7 Device Family Pack

    Tip:  The latest device family packs are available through Tools > Device Pack Manager in Atmel Studio 7 or online at Atmel Studio Packs Repository. Design Documentation and Relevant Links The following list contains links to the most relevant documents and software for the AVR128DB48 Curiosity Nano board: ® ® ®...
  • Page 7: Preprogrammed Application

    AVR128DB48 Curiosity Nano Preprogrammed Application Preprogrammed Application The AVR128DB48 mounted on the Curiosity Nano Evaluation Kit is preprogrammed with an application ready to utilize the integrated operational amplifiers. To get started with the application, you can find the user guide, code, and hex files for this application available online on GitHub: ®...
  • Page 8: 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 AVR128DB48 Curiosity Nano Board. The table below shows how the LED is controlled in different operation modes.
  • Page 9: Virtual Serial Port (Cdc)

    AVR128DB48 Curiosity Nano Curiosity Nano Remember:  Keep the debugger’s firmware up-to-date. Firmware upgrades are done automatically when ® using MPLAB X IDE or Atmel Studio 7. 4.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 10: Limitations

    AVR128DB48 Curiosity Nano Curiosity Nano Info:  For all operating systems: Be sure to use a terminal emulator that supports DTR signaling. See 4.1.2.4 Signaling. 4.1.2.3 Limitations Not all UART features are implemented in the on-board debugger CDC. The constraints are outlined here: •...
  • Page 11: Advanced Use

    AVR128DB48 Curiosity Nano Curiosity Nano 4.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 12: Mass Storage Device Implementation

    AVR128DB48 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 4.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 13: Data Gateway Interface (Dgi)

    X IDE or a stand-alone application that can be used ® in parallel with MPLAB X IDE or Atmel Studio 7. Although DGI encompasses several physical data interfaces, the AVR128DB48 Curiosity Nano implementation includes logic analyzer channels: • Two debug GPIO channels (also known as DGI GPIO) 4.1.4.1...
  • Page 14: Timestamping

    AVR128DB48 Curiosity Nano Curiosity Nano ® Figure 4-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 15: Power Supply

    AVR128DB48 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 4-3. Curiosity Nano Standard Pinout...
  • Page 16 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 AVR128DB48 microcontroller. The voltage limits configured in the on-board debugger on AVR128DB48 Curiosity Nano are 1.8– 5.5V.
  • Page 17: External Supply

    VBUS Output Pin AVR128DB48 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 18: Power Supply Exceptions

    AVR128DB48 Curiosity Nano Curiosity Nano Figure 4-6. VBUS Output Voltage vs. Current 4.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 19: Low-Power Measurement

    AVR128DB48 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 20: Programming External Microcontrollers

    8.4 Disconnecting the On-board Debugger. Programming External Microcontrollers The on-board debugger on AVR128DB48 Curiosity Nano can be used to program and debug microcontrollers on external hardware. 4.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 21: Hardware Modifications

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

    DBG3 is an open-drain connection and requires a pull-up resistor to function. AVR128DB48 Curiosity Nano has a pull-up resistor, R200, connected to its #RESET signal (DBG3). The location of the pull-up resistor is shown in the 8.2 Assembly Drawing in the appendix.
  • Page 23: Connecting External Debuggers

    AVR128DB48 Curiosity Nano Curiosity Nano Figure 4-10. Curiosity Nano Standard Pinout PS LED VBUS VOFF CDC RX DBG3 DEBUGGER CDC TX DBG0 DBG1 DBG2 CURIOSITY NANO Table 4-4. Programming and Debugging Interfaces ™ Curiosity Nano Pin UPDI ICSP DBG0 UPDI DATA SWDIO DBG1 —...
  • Page 24 AVR128DB48 Curiosity Nano Curiosity Nano ™ ® Figure 4-11. Connecting the MPLAB PICkit 4 In-Circuit Debugger/Programmer to AVR128DB48 Curiosity Nano 1 = Unused MPLAB® PICkit™ 4 2 = V 3 = Ground 4 = PGD 5 = Unused 6 = Unused...
  • Page 25 AVR128DB48 Curiosity Nano Curiosity Nano Figure 4-12. Connecting the Atmel-ICE to AVR128DB48 Curiosity Nano AVR® Atmel-ICE Ground 1 = Unused 6 = Unused 7 = Unused 2 = GND 3 = UPDI 8 = Unused 4 = VTG 9 = Unused...
  • Page 26: Hardware User Guide

    Using Pin Headers The edge connector footprint on AVR128DB48 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 27: Multi-Voltage I/O

    PCB. 5.1.3 Multi-Voltage I/O The AVR128DB48 Curiosity Nano MCU has support for Multi-Voltage I/O (MVIO). AVR128DB48 MVIO pins are connected to the edge connector at PC0-PC7. MVIO pins are capable of regular I/O-pin behavior.
  • Page 28: Operational Amplifiers

    WARNING may cause permanent damage to the board. By default AVR128DB48 Curiosity Nano board is configured for single-supply mode. To use Dual-Supply mode some hardware modifications are required. Before any hardware modifications are done, make sure the board is disconnected from USB or external WARNING power.
  • Page 29: Peripherals

    Peripherals 5.2.1 There is one yellow user LED available on the AVR128DB48 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 5-2. LED Connection...
  • Page 30: 16.00 Mhz Crystal

    5.2.4 16.00 MHz Crystal On the AVR128DB48 Curiosity Nano board is a mounted 16.00 MHz crystal of type VXM7-9040-16M0000000, the crystal is accurate to within 20 ppm. Using the External High-Frequency Crystal Oscillator (XOSCHF) module in AVR128DB48 with the mounted 16.00 MHz crystal generates a clock signal that is significantly more accurate than the Internal High-Frequency Oscillator (OSCHF) module.
  • Page 31: On-Board Debugger Implementation

    Bo�om side 5.2.5 On-Board Debugger Implementation AVR128DB48 Curiosity Nano features an on-board debugger that can be used to program and debug the AVR128DB48 using UPDI. The on-board debugger also includes a virtual serial port (CDC) interface over UART and ®...
  • Page 32: Hardware Revision History And Known Issues

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

    AVR128DB48 Curiosity Nano Document Revision History Document Revision History Doc. Rev. Date Comments 09/2020 Initial document release User Guide DS50003037A-page 33 © 2020 Microchip Technology Inc.
  • Page 34: Appendix

    AVR128DB48 Curiosity Nano Appendix Appendix Schematic Figure 8-1. AVR128DB48 Curiosity Nano Schematic User Guide DS50003037A-page 34 © 2020 Microchip Technology Inc.
  • Page 35 AVR128DB48 Curiosity Nano Appendix User Guide DS50003037A-page 35 © 2020 Microchip Technology Inc.
  • Page 36: Assembly Drawing

    AVR128DB48 Curiosity Nano Appendix Assembly Drawing Figure 8-2. AVR128DB48 Curiosity Nano Assembly Drawing Top Figure 8-3. AVR128DB48 Curiosity Nano Assembly Drawing Bottom User Guide DS50003037A-page 36 © 2020 Microchip Technology Inc.
  • Page 37: Curiosity Nano Base For Click Boards

    AVR128DB48 Curiosity Nano Appendix ™ Curiosity Nano Base for Click boards Figure 8-4. AVR128DB48 Curiosity Nano Pinout Mapping VBUS DBG3 (PF1) VOFF DBG0 (PF0) CDCTX DBG2 (PA1) CDCRX DBG1 (PA0) User Guide DS50003037A-page 37 © 2020 Microchip Technology Inc.
  • Page 38: Disconnecting The On-Board Debugger

    AVR128DB48 Curiosity Nano Appendix Disconnecting the On-board Debugger The on-board debugger and level shifters can be completely disconnected from the AVR128DB48. The block diagram below shows all connections between the debugger and the AVR128DB48. 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 39: Getting Started With Iar

    GCC. Programming and ™ debugging of AVR128DB48 Curiosity Nano is supported in IAR Embedded Workbench for AVR using the Atmel-ICE interface. Some initial settings must be set up in the project to get the programming and debugging to work.
  • Page 40 AVR128DB48 Curiosity Nano Appendix Figure 8-7. Select Target Device Figure 8-8. Select Debugger User Guide DS50003037A-page 40 © 2020 Microchip Technology Inc.
  • Page 41 AVR128DB48 Curiosity Nano Appendix Figure 8-9. Configure Interface User Guide DS50003037A-page 41 © 2020 Microchip Technology Inc.
  • Page 42: The Microchip Website

    AVR128DB48 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 43: 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 44: Quality Management System

    AVR128DB48 Curiosity Nano Quality Management System For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality. User Guide DS50003037A-page 44 © 2020 Microchip Technology Inc.
  • Page 45: 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 DS50003037A-page 45 © 2020 Microchip Technology Inc.
  • Page 46 Mouser Electronics Authorized Distributor Click to View Pricing, Inventory, Delivery & Lifecycle Information: Microchip EV35L43A...

Table of Contents