Microchip Technology ATtiny3217 Curiosity Nano Hardware User's Manual

Microchip Technology ATtiny3217 Curiosity Nano Hardware User's Manual

Advertisement

Quick Links

ATtiny3217 Curiosity Nano Hardware User Guide

Preface

The ATtiny3217 Curiosity Nano Evaluation Kit is a hardware platform to evaluate microcontrollers in the tinyAVR 1-
series. This board has the ATtiny3217 microcontroller (MCU) mounted.
Supported by Atmel Studio and Microchip MPLAB
provides easy access to the features of the ATtiny3217 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 ATtiny3217.
®
MPLAB
X IDE
and
Atmel Studio
microcontrollers.
ATtiny3217 website
ATtiny3217 Curiosity Nano website
©
2020 Microchip Technology Inc.
®
X Integrated Development Environments (IDEs), the board
- Software to discover, configure, develop, program, and debug Microchip
- Find documentation, sample, and purchase microcontrollers.
- Kit information, latest user guide and design documentation.
User Guide
ATtiny3217
DS40002193A-page 1

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

Summary of Contents for Microchip Technology ATtiny3217 Curiosity Nano

  • Page 1: Preface

    ATtiny3217 ATtiny3217 Curiosity Nano Hardware User Guide Preface The ATtiny3217 Curiosity Nano Evaluation Kit is a hardware platform to evaluate microcontrollers in the tinyAVR 1- series. This board has the ATtiny3217 microcontroller (MCU) mounted. ® Supported by Atmel Studio and Microchip MPLAB X Integrated Development Environments (IDEs), the board provides easy access to the features of the ATtiny3217 to explore how to integrate the device into a custom design.
  • Page 2: Table Of Contents

    3.5.4. Connecting to External Microcontrollers..............20 3.6. Connecting External Debuggers....................21 Hardware User Guide........................... 24 4.1. Connectors..........................24 4.1.1. ATtiny3217 Curiosity Nano Pinout................24 4.1.2. Using Pin Headers.......................24 4.2. Peripherals..........................25 User Guide DS40002193A-page 2 © 2020 Microchip Technology Inc.
  • Page 3 Getting Started with IAR......................35 The Microchip Website..........................38 Product Change Notification Service......................38 Customer Support............................38 Microchip Devices Code Protection Feature....................38 Legal Notice..............................38 Trademarks..............................39 Quality Management System........................39 Worldwide Sales and Service........................40 User Guide DS40002193A-page 3 © 2020 Microchip Technology Inc.
  • Page 4: Introduction

    – 1.8-5.5V output voltage (limited by USB input voltage) – 500 mA maximum output current (limited by ambient temperature and output voltage) Kit Overview The Microchip ATtiny3217 Curiosity Nano Evaluation Kit is a hardware platform to evaluate the ATtiny3217 microcontroller. Figure 1-1. ATtiny3217 Curiosity Nano Evaluation Kit 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 ATtiny3217 Curiosity Nano Board: ®...
  • Page 6 Microchip development boards, ready to be adapted and extended. • ATtiny3217 Curiosity Nano website - Kit information, latest user guide and design documentation. • ATtiny3217 Curiosity Nano on Microchip Direct - Purchase this kit on Microchip Direct. User Guide DS40002193A-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 ATtiny3217 Curiosity Nano Board. The table below shows how the LED is controlled in different operation modes.
  • Page 8: Virtual Serial Port (Cdc)

    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 DS40002193A-page 8 © 2020 Microchip Technology Inc.
  • Page 9: Limitations

    The maximum message length is 50 characters – all remaining data in the frame are ignored. The default baud rate used in this mode is 9600 bps, but if the CDC is already active or has been configured, the previously used baud rate still applies. User Guide DS40002193A-page 9 © 2020 Microchip Technology Inc.
  • Page 10: Mass Storage Device

    KIT-INFO.TXT – a text file containing details about the board’s debugger firmware version, board name, USB serial number, device, and drag-and-drop support • STATUS.TXT – a text file containing the programming status of the board User Guide DS40002193A-page 10 © 2020 Microchip Technology Inc.
  • Page 11: Fuse Bytes

    Sets the target voltage to 3.3V. If external power is provided, this has no effect. (Debugger firmware v1.16 or newer.) CMD:5V0 Sets the target voltage to 5.0V. If external power is provided, this has no effect. (Debugger firmware v1.16 or newer.) User Guide DS40002193A-page 11 © 2020 Microchip Technology Inc.
  • Page 12: Data Gateway Interface (Dgi)

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

    USB connector can vary between 4.4V to 5.25V (according to the USB specification) and will limit the maximum voltage to the target. The figure below shows the entire power supply system on ATtiny3217 Curiosity Nano. User Guide DS40002193A-page 13 © 2020 Microchip Technology Inc.
  • Page 14: Target Regulator

    ATtiny3217 microcontroller. The voltage limits configured in the on-board debugger on ATtiny3217 Curiosity Nano are 1.8-5.5V. Info:  The target voltage is set to 3.3V when the board is manufactured. It can be changed through MPLAB X IDE project properties and in the Atmel Studio device programming dialog.
  • Page 15: External Supply

    3.3.2 External Supply ATtiny3217 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.
  • Page 16: Vbus Output Pin

    VBUS Output Pin ATtiny3217 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: Low Power Measurement

    Connect an ammeter to the pin header. Write firmware that. 4.1. Tri-states any I/O connected to the on-board debugger. 4.2. Sets the microcontroller in its lowest power Sleep state. Program the firmware into the ATtiny3217. User Guide DS40002193A-page 17 © 2020 Microchip Technology Inc.
  • Page 18: Programming External Microcontrollers

    7.4 Disconnecting the On-board Debugger. Programming External Microcontrollers The on-board debugger on ATtiny3217 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 19: Hardware Modifications

    The on-board debugger is connected to the ATtiny3217 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 ATtiny3217 from the on-board debugger. User Guide DS40002193A-page 19 © 2020 Microchip Technology Inc.
  • Page 20: Connecting To External Microcontrollers

    Tie the VOFF pin to GND if the external hardware has its own 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 DS40002193A-page 20 © 2020 Microchip Technology Inc.
  • Page 21: Connecting External Debuggers

    Curiosity Nano to program/debug the ATtiny3217. The on-board debugger keeps all the pins connected to the ATtiny3217 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 DS40002193A-page 21 © 2020 Microchip Technology Inc.
  • Page 22 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 DS40002193A-page 22 © 2020 Microchip Technology Inc.
  • Page 23 ATtiny3217 Curiosity Nano Figure 3-12. Connecting the Atmel-ICE to ATtiny3217 Curiosity Nano AVR® Atmel-ICE Ground 1 = Unused 6 = Unused 7 = Unused 2 = GND 3 = UPDI 8 = Unused 4 = VTG 9 = Unused 5 = Unused...
  • Page 24: Hardware User Guide

    Using Pin Headers The edge connector footprint on ATtiny3217 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 ATtiny3217 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: On-Board Debugger Implementation

    4.2.4 On-Board Debugger Implementation ATtiny3217 Curiosity Nano features an on-board debugger that can be used to program and debug the ATtiny3217 using UPDI. The on-board debugger also includes a virtual serial port (CDC) interface over UART and debug GPIO. ®...
  • Page 27 ATtiny3217 Hardware User Guide ...continued ATtiny3217 Pin Debugger Pin Function Shared Functionality (PA0) DBG3 RESET (J202 not connected by Edge connector default) User Guide DS40002193A-page 27 © 2020 Microchip Technology Inc.
  • Page 28: Hardware Revision History And Known Issues

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

    ATtiny3217 Document Revision History Document Revision History Doc. rev. Date Comment 03/2020 Initial document release. User Guide DS40002193A-page 29 © 2020 Microchip Technology Inc.
  • Page 30: Appendix

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

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

    ATtiny3217 Appendix ™ Curiosity Nano Base for Click boards Figure 7-4. ATtiny3217 Curiosity Nano Pinout Mapping VBUS DBG3 VOFF DBG0 CDCTX DBG2 CDCRX DBG1 User Guide DS40002193A-page 33 © 2020 Microchip Technology Inc.
  • Page 34: 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 DS40002193A-page 34 © 2020 Microchip Technology Inc.
  • Page 35: Getting Started With Iar

    GCC. Programming and ™ debugging of ATtiny3217 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 36 ATtiny3217 Appendix Figure 7-7. Select Target Device Figure 7-8. Select Debugger User Guide DS40002193A-page 36 © 2020 Microchip Technology Inc.
  • Page 37 ATtiny3217 Appendix Figure 7-9. Configure Interface User Guide DS40002193A-page 37 © 2020 Microchip Technology Inc.
  • Page 38: The Microchip Website

    Information contained in this publication 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 User Guide DS40002193A-page 38 © 2020 Microchip Technology Inc.
  • Page 39: Trademarks

    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 40: 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 DS40002193A-page 40 © 2020 Microchip Technology Inc.

Table of Contents