Advertisement

Quick Links

ATmega4809 Curiosity Nano Hardware User Guide

Preface

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

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the DM320115 and is the answer not in the manual?

Questions and answers

Summary of Contents for Microchip Technology DM320115

  • Page 1: Preface

    - Get started with code examples. • ATmega4809 website - Find documentation, datasheets, sample, and purchase microcontrollers. • ATmega4809 Curiosity Nano website - Kit information, latest user guide, and design documentation. User Guide DS50002804B-page 1 © 2020 Microchip Technology Inc.
  • Page 2: Table Of Contents

    Disconnecting the On-Board Debugger..................35 ™ 7.5. Getting Started with IAR ......................36 The Microchip Website..........................39 Product Change Notification Service......................39 Customer Support............................39 Microchip Devices Code Protection Feature....................39 Legal Notice..............................40 Trademarks..............................40 User Guide DS50002804B-page 2 © 2020 Microchip Technology Inc.
  • Page 3 ATmega4809 Curiosity Nano Quality Management System........................41 Worldwide Sales and Service........................42 User Guide DS50002804B-page 3 © 2020 Microchip Technology Inc.
  • Page 4: Introduction

    The Microchip ATmega4809 Curiosity Nano Evaluation Kit is a hardware platform to evaluate the ATmega4809 microcontroller. Figure 1-1. ATmega4809 Curiosity Nano Board Overview Micro-USB Power/Status 32.768 kHz ATmega4809 User LED User Switch Debugger Connector Crystal Footprint (LED0) (SW0) User Guide DS50002804B-page 4 © 2020 Microchip Technology Inc.
  • Page 5: Getting Started

    - This is a commercial C/C++ compiler that is available for AVR microcontrollers. There is a 30-day evaluation version as well as a 4 KB code-size-limited kick-start version available from their website. User Guide DS50002804B-page 5 © 2020 Microchip Technology Inc.
  • Page 6 Microchip development boards, ready to be adapted and extended. • ATmega4809 Curiosity Nano website - Kit information, latest user guide, and design documentation. • ATmega4809 Curiosity Nano on microchipDIRECT - Purchase this kit on microchipDIRECT. User Guide DS50002804B-page 6 © 2020 Microchip Technology Inc.
  • Page 7: Curiosity Nano

    USB subsystem. The debugger supports full-featured programming and debugging of the ® ATmega4809 using both MPLAB X IDE and Atmel Studio 7, as well as some third-party IDEs. User Guide DS50002804B-page 7 © 2020 Microchip Technology Inc.
  • Page 8 CDC. On MAC machines, the CDC will enumerate and appear as /dev/tty.usbmodem#. Depending on which terminal program is used, it will appear in the available list of modems as usbmodem#. User Guide DS50002804B-page 8 © 2020 Microchip Technology Inc.
  • Page 9 To avoid any glitches resulting in unpredictable behavior like framing errors, the target device should enable the internal pull-up resistor on the pin connected to the debugger’s CDC TX pin. User Guide DS50002804B-page 9 © 2020 Microchip Technology Inc.
  • Page 10 The on-board debugger includes a simple Mass Storage Device implementation, which is accessible for read/write operations via the host operating system to which it is connected. It provides: • Read access to basic text and HTML files for detailed kit information and support User Guide DS50002804B-page 10 © 2020 Microchip Technology Inc.
  • Page 11 3.1.3.3 Special Commands Several utility commands are supported by copying text files to the mass storage disk. The filename or extension is irrelevant – the command handler reacts to content only. User Guide DS50002804B-page 11 © 2020 Microchip Technology Inc.
  • Page 12 They are typically used to plot the occurrence of low-frequency events on a time-axis – for example, when certain application state transitions occur. The figure below shows the monitoring of the digital state of a mechanical switch connected to a debug GPIO in MPLAB Data Visualizer. User Guide DS50002804B-page 12 © 2020 Microchip Technology Inc.
  • Page 13: Curiosity Nano Standard Pinout

    USB CDC TX line CDC RX UART TX USB CDC RX line DBG0 UPDI Debug data line DBG1 GPIO1 debug GPIO1 DBG2 GPIO0 debug GPIO0 DBG3 RESET Reset line — No connect User Guide DS50002804B-page 13 © 2020 Microchip Technology Inc.
  • Page 14: Power Supply

    The target voltage regulator is a MIC5353 variable output LDO. The on-board debugger can adjust the voltage output supplied to the board target section by manipulating the MIC5353’s feedback voltage. The hardware implementation User Guide DS50002804B-page 14 © 2020 Microchip Technology Inc.
  • Page 15 This will detect and handle any short-circuit conditions. It will also detect and handle if an external voltage, which causes VCC_TARGET to move outside of the voltage setting monitoring window of ±100 mV, is suddenly applied to the VTG pin, without setting the VOFF pin low. User Guide DS50002804B-page 15 © 2020 Microchip Technology Inc.
  • Page 16 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. User Guide DS50002804B-page 16 © 2020 Microchip Technology Inc.
  • Page 17 This can be caused by a full or partial short-circuit and is a special case of the issue mentioned above. Remove the short-circuit, and the on-board debugger will re-enable the on-board target voltage regulator. User Guide DS50002804B-page 17 © 2020 Microchip Technology Inc.
  • Page 18: Low-Power Measurement

    Tri-states any I/O connected to the on-board debugger. 4.2. Sets the microcontroller in its lowest power sleep mode. Program the firmware into the ATmega4809. Figure 3-7. Target Power Strap Target Power strap (top side) User Guide DS50002804B-page 18 © 2020 Microchip Technology Inc.
  • Page 19: Programming External Microcontrollers

    Navigate to Tools > Options through the menu system at the top of the application. Select the Tools > Tool settings category in the options window. Set the Hide unsupported devices option to False. User Guide DS50002804B-page 19 © 2020 Microchip Technology Inc.
  • Page 20 The on-board debugger is connected to the ATmega4809 by default. These connections must be removed before any external microcontroller can be programmed or debugged. Cut the GPIO straps shown in the figure below with a sharp tool to disconnect the ATmega4809 from the on-board debugger. User Guide DS50002804B-page 20 © 2020 Microchip Technology Inc.
  • Page 21 Tie the VOFF pin to GND if the external hardware has a power supply • Make sure there are pull-down resistors on the ICSP data and clock signals (DBG0 and DBG1) to support the debugging of PIC microcontrollers User Guide DS50002804B-page 21 © 2020 Microchip Technology Inc.
  • Page 22: Connecting External Debuggers

    Curiosity Nano to program/debug the ATmega4809. The on-board debugger keeps all the pins connected to the ATmega4809 and board edge in tri-state when not actively used. Therefore, the on-board debugger will not interfere with any external debug tools. User Guide DS50002804B-page 22 © 2020 Microchip Technology Inc.
  • Page 23 4 = PGD 5 = Unused 6 = Unused 7 = Unused 8 = Unused Ground DATA PS LED VBUS VOFF CDC RX DBG3 DEBUGGER CDC TX DBG0 DBG1 DBG2 CURIOSITY NANO User Guide DS50002804B-page 23 © 2020 Microchip Technology Inc.
  • Page 24 To avoid contention between the external debugger and the on-board debugger, do not start any CAUTION ® programming/debug operation with the on-board debugger through MPLAB X IDE or Atmel Studio 7 or mass storage programming while the external tool is active. User Guide DS50002804B-page 24 © 2020 Microchip Technology Inc.
  • Page 25: Hardware User Guide

    The edge connector footprint on ATmega4809 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. User Guide DS50002804B-page 25 © 2020 Microchip Technology Inc.
  • Page 26: Peripherals

    There is one yellow user LED available on the ATmega4809 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. User Guide DS50002804B-page 26 © 2020 Microchip Technology Inc.
  • Page 27 Microchip. The cut straps and solder points can be seen in Figure 4-4. Table 4-3. Crystal Connections ATmega4809 Pin Function Shared Functionality TOSC1 (crystal input) Edge connector TOSC2 (crystal output) Edge connector User Guide DS50002804B-page 27 © 2020 Microchip Technology Inc.
  • Page 28: On-Board Debugger Implementation

    UART3 RX (ATmega4809 RX line) Edge connector CDC RX UART3 TX (ATmega4809 TX line) Edge connector UPDI DBG0 UPDI Edge connector DBG1 GPIO1 Edge connector DBG2 GPIO0 Edge connector DBG3 RESET Edge connector, User Guide DS50002804B-page 28 © 2020 Microchip Technology Inc.
  • Page 29: Hardware Revision History And Known Issues

    Revision 5 Revision 5 is the initially released revision. There is a Kyocera Corporation ST3215SB32768C0HPWBB 7 pF crystal mounted on the 32.768 kHz crystal footprint on revision 5 of ATmega4809 Curiosity Nano. User Guide DS50002804B-page 29 © 2020 Microchip Technology Inc.
  • Page 30: Document Revision History

    ATmega4809 Curiosity Nano Document Revision History Document Revision History Doc. rev. Date Comment 10/2020 New hardware revisions 10/2018 Initial document release User Guide DS50002804B-page 30 © 2020 Microchip Technology Inc.
  • Page 31: Appendix

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

    ATmega4809 Curiosity Nano Appendix Assembly Drawing Figure 7-2. ATmega4809 Curiosity Nano Assembly Drawing Top Figure 7-3. ATmega4809 Curiosity Nano Assembly Drawing Bottom User Guide DS50002804B-page 33 © 2020 Microchip Technology Inc.
  • Page 34: Curiosity Nano Base For Click Boards

    ATmega4809 Curiosity Nano Appendix ™ Curiosity Nano Base for Click boards Figure 7-4. ATmega4809 Curiosity Nano Pinout Mapping VBUS DBG3 VOFF DBG0 CDC TX DBG2 CDC RX DBG1 User Guide DS50002804B-page 34 © 2020 Microchip Technology Inc.
  • Page 35: Disconnecting The On-Board Debugger

    PA04/PA06 DBG0 PA07 DBG1 PA08 DBG2 PA16 DBG3 Level-Shift TARGET PA00 CDC TX UART RX PA01 CDC RX UART TX DIR x 5 CDC RX DBG0 CDC TX DBG1 DBG2 DBG3 User Guide DS50002804B-page 35 © 2020 Microchip Technology Inc.
  • Page 36: Getting Started With Iar

    UPDI frequency, as shown in Figure 7-9. Info:  If the selection of Debug Port (mentioned in step 4) is grayed out, the interface is preselected, and the user can skip this configuration step. User Guide DS50002804B-page 36 © 2020 Microchip Technology Inc.
  • Page 37 ATmega4809 Curiosity Nano Appendix Figure 7-7. Select Target Device Figure 7-8. Select Debugger User Guide DS50002804B-page 37 © 2020 Microchip Technology Inc.
  • Page 38 ATmega4809 Curiosity Nano Appendix Figure 7-9. Configure Interface User Guide DS50002804B-page 38 © 2020 Microchip Technology Inc.
  • Page 39: The Microchip Website

    Attempts to break Microchip’s code protection feature may be a violation of the Digital Millennium Copyright Act. If such acts allow unauthorized access to your software or other copyrighted work, you may have a right to sue for relief under that Act. User Guide DS50002804B-page 39 © 2020 Microchip Technology Inc.
  • Page 40: 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 41 ATmega4809 Curiosity Nano Quality Management System For information regarding Microchip’s Quality Management Systems, please visit www.microchip.com/quality. User Guide DS50002804B-page 41 © 2020 Microchip Technology Inc.
  • Page 42 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 DS50002804B-page 42 © 2020 Microchip Technology Inc.

This manual is also suitable for:

Atmega4809 curiosity nano

Table of Contents