Microchip Technology ATtiny104 Xplained Nano, ATtiny416 Xplained Nano User Manual

ATtiny104 Xplained Nano
ATtiny104 Xplained Nano Evaluation Kit User's Guide

Preface

The Microchip ATtiny104 Xplained Nano Evaluation Kit is a hardware platform to evaluate the ATtiny104 microcontroller.
Supported by the Atmel Studio and MPLAB® X integrated development platform, the kit provides easy access to the features of the Microchip ATtiny104 and explains how to integrate the device in a custom design.
The Xplained Nano MCU series evaluation kits include an on-board mini embedded programmer, and no external tools are necessary to program the ATtiny104.
© 2019 Microchip Technology Inc.
User Guide
DS40002160A-page 1
ATtiny104 Xplained Nano

Table of Contents

Preface........................................................................................................................................................... 1
1. Introduction............................................................................................................................................. 3
1.1. Features....................................................................................................................................... 3
1.2. Kit Overview................................................................................................................................. 3
2. Getting Started........................................................................................................................................ 4
2.1. Xplained Nano Quick Start........................................................................................................... 4
2.2. Design Documentation and Relevant Links................................................................................. 4
3. Xplained Nano.........................................................................................................................................6
3.1. Mini Embedded Debugger............................................................................................................6
3.2. Power Sources............................................................................................................................. 6
3.3. Xplained Nano Standard Pinout................................................................................................... 7
3.4. Disconnecting mEDBG.................................................................................................................8
4. Hardware User Guide............................................................................................................................. 9
4.1. Connectors...................................................................................................................................9
4.2. Current Measurement.................................................................................................................. 9
4.3. Peripherals................................................................................................................................. 10
5. Embedded Debugger Implementation...................................................................................................11
5.1. Tiny Program Interface............................................................................................................... 11
5.2. Virtual COM Port.........................................................................................................................11
6. Hardware Revision History and Known Issues..................................................................................... 12
6.1. Identifying Product ID and Revision........................................................................................... 12
6.2. Fuse Masking............................................................................................................................. 12
6.3. Revision 2...................................................................................................................................12
6.4. Revision 1...................................................................................................................................12
7. Document Revision History...................................................................................................................13
The Microchip Website.................................................................................................................................14
Product Change Notification Service............................................................................................................14
Customer Support........................................................................................................................................ 14
Microchip Devices Code Protection Feature................................................................................................ 14
Legal Notice................................................................................................................................................. 14
Trademarks.................................................................................................................................................. 15
Quality Management System....................................................................................................................... 15
Worldwide Sales and Service.......................................................................................................................16
© 2019 Microchip Technology Inc.
User Guide
DS40002160A-page 2

1. Introduction

RESET
TPI DATA
TPI CLK
NC
VREG
VUSB
GND
CLK OUT
CDC TX
CDC RX
VCC
PA0
PA1
PA2
PA3
PA4
PA5
GND
PB3
PB2
PB1
PB0
PA7
PA6
Micro USB Connector
User LED User button
mEDBG
ATtiny104
Power disconnect mEDBG disconnectStatus LED
TPI CLK
TPI DATA
RESET
USER LED
USER BTN
CDC TX
CDC RX
Power
Ground
Clock
Serial
Target I/O
Shared I/Os
Program/Debug

1.1 Features

• ATtiny104 Microcontroller
• One Yellow User LED
• One Mechanical Button
• mEDBG – Auto-ID for board identification in Atmel Studio/Microchip MPLAB® X IDE – One green board status LED – Programming – Virtual COM port (CDC)
• USB Powered

1.2 Kit Overview

The Microchip ATtiny104 Xplained Nano Evaluation kit is a hardware platform to evaluate the ATtiny104.
Figure 1-1. ATtiny104 Xplained Nano Evaluation Kit Overview
ATtiny104 Xplained Nano
Introduction
© 2019 Microchip Technology Inc.
User Guide
DS40002160A-page 3

2. Getting Started

2.1 Xplained Nano Quick Start

Steps to start exploring the Microchip Xplained Nano platform:
1. Download Atmel Studio/Microchip MPLAB® X IDE.
2. Launch Atmel Studio/Microchip MPLAB® X IDE.
3. Optional: Use Atmel START to generate drivers and examples.
4. Write your application code.
5. Connect a USB cable (Standard-A to Micro-B or Micro-AB) between the PC and the debug USB port on the kit.
When the Xplained Nano kit is connected to your computer for the first time, the operating system will perform a driver software installation. The driver file supports both 32- and 64-bit versions of Microsoft® Windows® XP, Windows Vista®, Windows 7, Windows 8, and Windows 10. The drivers for the kit are included with Atmel Studio/ Microchip MPLAB® X IDE.
Once the Xplained Nano board is powered, the green status LED will blink and Atmel Studio/Microchip MPLAB® X IDE will auto-detect which Xplained Nano board is connected. Atmel Studio/Microchip MPLAB® X IDE will present relevant information like data sheets and kit documentation. The ATtiny104 device is programmed by the on-board Mini Embedded Debugger and therefore, no external programmer tool is required.
ATtiny104 Xplained Nano
Getting Started

2.2 Design Documentation and Relevant Links

The following list contains links to the most relevant documents and software for the ATtiny104 Xplained Nano.
Xplained Products - Xplained Evaluation Kits are a series of easy-to-use evaluation kits for Microchip
microcontrollers and other Microchip products.
– Xplained Nano - used for low pin count devices and provides a minimalistic solution with access to all I/O
pins of the target microcontroller.
– Xplained Mini - used for medium pin count devices and adds Arduino Uno compatible header footprint and
a prototyping area.
– Xplained Pro - used for medium-to-high pin count devices that features advanced debugging and
standardized extensions for peripheral functions.
Note:  All the above kits have on-board programmers/debuggers, which creates a set of low-cost boards for evaluation and demonstration of features and capabilities of different Microchip products.
Atmel Studio - Free IDE for the development of C/C++ and assembler code for microcontrollers.
MPLAB® X IDE - MPLAB® X IDE is a software program that runs on a PC (Windows®, Mac OS®, Linux®) to
develop applications for Microchip microcontrollers and digital signal controllers. It is called an Integrated Development Environment (IDE) because it provides a single integrated “environment” to develop code for embedded microcontrollers.
MPLAB® Code Configurator - MPLAB® Code Configurator (MCC) is a free software plug-in that provides a
graphical interface to configure peripherals and functions specific to your application.
IAR Embedded Workbench® for AVR® - This is a commercial C/C++ compiler that is available for 8-bit AVR.
There is a 30-day evaluation version as well as a 4 KB code-size-limited kick-start version available from their website.
Atmel START - Atmel START is an online tool that helps the user to select and configure software components
and tailor your embedded application in a usable and optimized manner.
Microchip Sample Store - Microchip sample store where you can order samples of devices.
Data Visualizer - Data Visualizer is a program used for processing and visualizing data. The Data Visualizer
can receive data from various sources such as the EDBG Data Gateway Interface found on Curiosity Nano and Xplained Pro boards and COM Ports.
© 2019 Microchip Technology Inc.
User Guide
DS40002160A-page 4
ATtiny104 Xplained Nano
Getting Started
Design Documentation - Package containing CAD source, schematics, BOM, assembly drawings, 3D plots,
layer plots, etc.
Hardware Users Guide in PDF format - PDF version of this User Guide.
© 2019 Microchip Technology Inc.
User Guide
DS40002160A-page 5
Loading...
+ 11 hidden pages