AVR602: Using the ATtinyX3U Top Module. 8-bit Microcontrollers. Quick Start Guide. ATtinyX3U Top Module for STK600. Features

Similar documents
AVR1900: Getting started with ATxmega128A1 on STK bit Microcontrollers. Application Note. 1 Introduction

AVR1922: Xplain Board Controller Firmware. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32138: How to optimize the ADC usage on AT32UC3A0/1, AT32UC3A3 and AT32UC3B0/1 series. 32-bit Microcontrollers. Application Note.

8-bit. Application Note. Microcontrollers. AVR282: USB Firmware Upgrade for AT90USB

AVR033: Getting Started with the CodeVisionAVR C Compiler. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1309: Using the XMEGA SPI. 8-bit Microcontrollers. Application Note. Features. 1 Introduction SCK MOSI MISO SS

AVR115: Data Logging with Atmel File System on ATmega32U4. Microcontrollers. Application Note. 1 Introduction. Atmel

AVR1510: Xplain training - XMEGA USART. 8-bit Microcontrollers. Application Note. Prerequisites. 1 Introduction

AVR32701: AVR32AP7 USB Performance. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR287: USB Host HID and Mass Storage Demonstration. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR353: Voltage Reference Calibration and Voltage ADC Usage. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1318: Using the XMEGA built-in AES accelerator. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Using CryptoMemory in Full I 2 C Compliant Mode. Using CryptoMemory in Full I 2 C Compliant Mode AT88SC0104CA AT88SC0204CA AT88SC0404CA AT88SC0808CA

AVR1600: Using the XMEGA Quadrature Decoder. 8-bit Microcontrollers. Application Note. Features. 1 Introduction. Sensors

Application Note. 8-bit Microcontrollers. AVR270: USB Mouse Demonstration

Application Note. 8-bit Microcontrollers. AVR272: USB CDC Demonstration UART to USB Bridge

Atmel AVR4903: ASF - USB Device HID Mouse Application. Atmel Microcontrollers. Application Note. Features. 1 Introduction

AVR32788: AVR 32 How to use the SSC in I2S mode. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR2006: Design and characterization of the Radio Controller Board's 2.4GHz PCB Antenna. Application Note. Features.

32-bit AVR UC3 Microcontrollers. 32-bit AtmelAVR Application Note. AVR32769: How to Compile the standalone AVR32 Software Framework in AVR32 Studio V2

Atmel AVR4921: ASF - USB Device Stack Differences between ASF V1 and V2. 8-bit Atmel Microcontrollers. Application Note. Features.

How To Use An Atmel Atmel Avr32848 Demo For Android (32Bit) With A Microcontroller (32B) And An Android Accessory (32D) On A Microcontroller (32Gb) On An Android Phone Or

AVR1301: Using the XMEGA DAC. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Application Note. 8-bit Microcontrollers. AVR293: USB Composite Device

AVR030: Getting Started with IAR Embedded Workbench for Atmel AVR. 8-bit Microcontrollers. Application Note. Features.

Atmel AVR1017: XMEGA - USB Hardware Design Recommendations. 8-bit Atmel Microcontrollers. Application Note. Features.

Atmel AVR4920: ASF - USB Device Stack - Compliance and Performance Figures. Atmel Microcontrollers. Application Note. Features.

AVR317: Using the Master SPI Mode of the USART module. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR305: Half Duplex Compact Software UART. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AT91SAM ARM-based Flash MCU. Application Note

Application Note. Atmel ATSHA204 Authentication Modes. Prerequisites. Overview. Introduction

APPLICATION NOTE. Atmel AVR134: Real Time Clock (RTC) Using the Asynchronous Timer. Atmel AVR 8-bit Microcontroller. Introduction.

3-output Laser Driver for HD-DVD/ Blu-ray/DVD/ CD-ROM ATR0885. Preliminary. Summary. Features. Applications. 1. Description

APPLICATION NOTE. Atmel AT04389: Connecting SAMD20E to the AT86RF233 Transceiver. Atmel SAMD20. Description. Features

USER GUIDE. ZigBit USB Stick User Guide. Introduction

APPLICATION NOTE. Atmel AVR600: STK600 Expansion, Routing and Socket Boards. Atmel Microcontrollers. Introduction

AVR2004: LC-Balun for AT86RF230. Application Note. Features. 1 Introduction

AVR125: ADC of tinyavr in Single Ended Mode. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

APPLICATION NOTE. Atmel LF-RFID Kits Overview. Atmel LF-RFID Kit. LF-RFID Kit Introduction

AVR055: Using a 32kHz XTAL for run-time calibration of the internal RC. 8-bit Microcontrollers. Application Note. Features.

8051 Flash Microcontroller. Application Note. A Digital Thermometer Using the Atmel AT89LP2052 Microcontroller

APPLICATION NOTE. Atmel AT01095: Joystick Game Controller Reference Design. 8-/16-bit Atmel Microcontrollers. Features.

General Porting Considerations. Memory EEPROM XRAM

AVR319: Using the USI module for SPI communication. 8-bit Microcontrollers. Application Note. Features. Introduction

AVR245: Code Lock with 4x4 Keypad and I2C LCD. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1003: Using the XMEGA Clock System. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR151: Setup and Use of the SPI. Introduction. Features. Atmel AVR 8-bit Microcontroller APPLICATION NOTE

USER GUIDE EDBG. Description

Quick Start Guide. CAN Microcontrollers. ATADAPCAN01 - STK501 CAN Extension. Requirements

AVR ONE!... Quick-start Guide. EVK Windows 32104B AVR ONE! 02/10

APPLICATION NOTE. Atmel AT02985: User s Guide for USB-CAN Demo on SAM4E-EK. Atmel AVR 32-bit Microcontroller. Features. Description.

AT89C5131A Starter Kit... Software User Guide

Application Note. C51 Bootloaders. C51 General Information about Bootloader and In System Programming. Overview. Abreviations

8-bit RISC Microcontroller. Application Note. AVR910: In-System Programming

AT88CK490 Evaluation Kit

APPLICATION NOTE Atmel AT02509: In House Unit with Bluetooth Low Energy Module Hardware User Guide 8-bit Atmel Microcontroller Features Description

256K (32K x 8) Battery-Voltage Parallel EEPROMs AT28BV256

SMARTCARD XPRO. Preface. SMART ARM-based Microcontrollers USER GUIDE

AVR1321: Using the Atmel AVR XMEGA 32-bit Real Time Counter and Battery Backup System. 8-bit Microcontrollers. Application Note.

Application Note. Atmel CryptoAuthentication Product Uses. Atmel ATSHA204. Abstract. Overview

8-bit Microcontroller. Application Note. AVR415: RC5 IR Remote Control Transmitter. Features. Introduction. Figure 1.

Atmel AT32UC3A3256 microcontroller 64MBit SDRAM Analog input (to ADC) Temperature sensor RC filter

8-bit RISC Microcontroller. Application Note. AVR182: Zero Cross Detector

CryptoAuth Xplained Pro

How To Design An Ism Band Antenna For 915Mhz/2.4Ghz Ism Bands On A Pbbb (Bcm) Board

Software Prerequisites Linux Ubuntu LTS. Estimated completion time: 15min. The goal of this hands-on is to:

APPLICATION NOTE. Atmel AVR443: Sensor-based Control of Three Phase Brushless DC Motor. Atmel AVR 8-bit Microcontrollers. Features.

AVR134: Real Time Clock (RTC) using the Asynchronous Timer. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

Introducing a platform to facilitate reliable and highly productive embedded developments

APPLICATION NOTE. AT07175: SAM-BA Bootloader for SAM D21. Atmel SAM D21. Introduction. Features

AVR32110: Using the AVR32 Timer/Counter. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

Table of Contents. Section 1 Introduction Section 2 Getting Started Section 3 Hardware Description

64K (8K x 8) Parallel EEPROM with Page Write and Software Data Protection AT28C64B

Atmel AVR ATxmega384C3 microcontroller OLED display with pixels resolution Analog sensors. Ambient light sensor Temperature sensor

Introducing AVR Dragon

STK User Guide

AT91 ARM Thumb Microcontrollers. AT91SAM CAN Bootloader. AT91SAM CAN Bootloader User Notes. 1. Description. 2. Key Features

APPLICATION NOTE. Secure Personalization with Transport Key Authentication. ATSHA204A, ATECC108A, and ATECC508A. Introduction.

AT91 ARM Thumb Microcontrollers. Application Note. Interfacing a PC Card to an AT91RM9200-DK. Introduction. Hardware Interface

QT1 Xplained Pro. Preface. Atmel QTouch USER GUIDE

AT89LP Flash Data Memory. Application Note. AT89LP Flash Data Memory API. 1. Introduction. 2. Theory of Operation. 2.1 Flash Memory Operation

AVR106: C functions for reading and writing to Flash memory. 8-bit Microcontrollers. Application Note. Features. Introduction

Atmel AVR4027: Tips and Tricks to Optimize Your C Code for 8-bit AVR Microcontrollers. 8-bit Atmel Microcontrollers. Application Note.

3-output Laser Driver for HD-DVD/ Blu-ray/DVD/ CD-ROM ATR0885. Preliminary. Summary

AVR1324: XMEGA ADC Selection Guide. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

APPLICATION NOTE. Authentication Counting. Atmel CryptoAuthentication. Features. Introduction

formerly Help Desk Authority Quest Free Network Tools User Manual

8-bit Microcontroller. Application Note. AVR400: Low Cost A/D Converter

RC2200DK Demonstration Kit User Manual

Dell Statistica Statistica Enterprise Installation Instructions

APPLICATION NOTE. AT16268: JD Smart Cloud Based Smart Plug Getting. Started Guide ATSAMW25. Introduction. Features

MODFLEX MINI GATEWAY ETHERNET USER S GUIDE

8-bit RISC Microcontroller. Application Note. AVR155: Accessing an I 2 C LCD Display using the AVR 2-wire Serial Interface

Quest vworkspace Virtual Desktop Extensions for Linux

8-bit Microcontroller. Application Note. AVR222: 8-point Moving Average Filter

Two mechanical buttons Two user LEDs Four expansion headers. Board controller with USB interface. One power LED and one status LED

8-bit Microcontroller. Application Note. AVR314: DTMF Generator

TCP/IP MODULE CA-ETHR-A INSTALLATION MANUAL

AT86RF230 (2450 MHz band) Radio Transceiver... User Guide

Dell Statistica Document Management System (SDMS) Installation Instructions

Transcription:

AVR602: Using the ATtinyX3U Top Module Features Complete Starter Kit for ATtiny43U - Top Module Easily Connects to the STK 600 Fully Configured Boost Circuitry No Additional Components Required - Variable Voltage Source of STK600 Performs as Virtual Battery Supports Both SOIC and MLF Packages Serial and Parallel Programming Supported Zero Insertion Force Socket for Programming Discrete SOIC Devices 1 What is included in the ATSTK600-TinyX3U 8-bit Microcontrollers Quick Start Guide ATtinyX3U Top Module for STK600 The following item is included in the package: ATtinyX3U card, with ATtiny43U SOIC or MLF device mounted Figure 1-1. ATtinyX3U Top Module (Revision C) for STK600 Rev.

2 Preparing the Equipment Use the figures below as a reference and follow instructions in sections 2.1 and 2.2. Figure 2-1. STK600 with ATtinyX3U Assembled POWER SWITCH STATUS LED VTARGET RESET AREF0 CLOCK SWITCH AREF1 ATTINY43U TOP CARD ISP/PDI PROG DATA PROG CTRL PORT A PORT B LED PORT 2 AVR602

AVR602 Figure 2-2. ATtinyX3U Top Module SOIC DEVICE ISP JUMPER J3: 1:BATS 2:GND DATA JUMPER J8: 1:VTG 2:D1 CTRL LOCATION FOR MLF DEVICE AUX ZIF PROG- RAMMING SOCKET FOR SOIC DEVICE 2.1 Hardware See Figure 2-1 and Figure 2-2 for guidance. Make the following preparations before proceeding: Release the plastic screws on the STK600 and mount the ATtinyX3U Top Module. Using the plastic screws, fasten and secure the top module to the board On the ATtinyX3U, mount jumper J3. This will configure the device to work without the integrated boost regulator On STK600, set the clock switch to position 'INT'. Then short jumpers RESET, AREF0 and AREF1 2.2 Firmware Make the following preparations before proceeding: Make sure the required version of AVR Studio is installed on your computer. Open AVR Studio from the Start menu of Windows. Click Cancel to skip the welcome window. In the Help menu click AVR Tools User Guide to open the online help files. Browse to section STK600 for detailed instructions on the hardware 3

3 Setting Up the Power Source The ATtiny43U can be powered either from the voltage source of the STK600 or from the on-chip boost regulator. 3.1 Powering the Device Directly from the Voltage Source of STK600 How to set up for use with STK600 as voltage source: Make sure the STK600 power switch is in OFF -position On STK600, short jumper VTARGET On the ATtinyX3U, open jumper J8 and short jumper J3 Using the USB cable connect the STK600 to the computer, then turn the STK600 power switch to ON -position. If asked, proceed to install a USB driver on the computer. Choose the recommended option and let Windows find a driver automatically In AVR Studio, open the 'Tools' menu, select 'Program AVR' and click on 'Connect'. Choose STK600 as 'Platform' and USB as 'Port' option. Then click Connect When connection has been made, go to the 'HW Settings' tab in the programming window. In the Voltages section, use the scroll bar to set VTarget to a value between 1.8V and 5.5V and then click the 'Write' button. See Figure 2-3 Figure 2-3. Setting VTarget in AVR Studio 4 AVR602 The ATtiny43U chip on the ATtinyX3U Top Module should now be powered and start to run. 3.2 Using the STK600 as Supply Voltage for the On-Chip Boost Regulator How to set up for using the on-chip boost regulator with STK600 as voltage source: Using the procedure outlined in section 3.1 change VTarget to 0V Switch off the STK600, then open jumper VTARGET

AVR602 On the ATtinyX3U, open jumper J3 and close jumper J8. Then use a wire to strap pin 1 of jumper J3 and pin 1 of VTARGET. Note polarity! See Figure 2-2 and Figure 2-4 for guidance Figure 2-4. Strapping pin 1 (left) of J3 to pin 1 (right) of VTARGET Turn on the STK600 In AVR Studio, open the 'Tools' menu, select 'Program AVR' and click on 'Connect'. Choose STK600 as 'Platform' and USB as 'Port' option. Click Connect. Then browse to the 'HW Settings' tab, set VTarget to 1.5 and click the 'Write' button NOTE WELL Make sure strap between J3 and VTARGET is properly connected. Wrong polarity may cause permanent damage! See Figure 2-4 for guidance. The application software on the ATtiny43U should now start to run the programmed code. In the HW Settings tab of AVR Studio, experiment with VTarget values from 1.8V and 0.9V. STK600 can supply VTarget voltages of 0.9V and above. Notes Pin 1 is the positive terminal and pin 2 is the negative terminal of jumper J3 Refer to the ATtiny43U data sheets for voltages where the device will start up and shut down In this configuration, pushing the 'Read' button of section Voltages in the HW Settings returns the voltage at pin 2 of VTARGET in the field VTarget. In this case the reading corresponds to the boost regulated voltage on pin VCC of ATtiny43U, not the input voltage to the boost regulator 5

3.3 Using an External Source to Power the Chip from the On-Chip Boost Regulator The hardware can be configured for ATtiny43U boost regulator supply voltage to be provided from an external source, such as a single-cell battery. To do so, make the following adjustments: On STK600, open jumper VTARGET or remove strap if present On ATtinyX3U, open jumper J3 and close jumper J8 Power on the STK600 Connect external voltage source to jumper J3. Note polarity! Pin 1 is BATS and pin 2 is GND Note The STK600 must always be powered on when using an external voltage source. 4 Programming ATtiny43U 4.1 Programming the Soldered Device 4.1.1 Serial Mode For information on device programming options, see the device data sheet. The soldered device can be programmed in both serial and parallel mode, as described in the following sections. How to set up serial programming of the soldered device: Choose the power supply option for the ATtiny43U and configure it according to one of the schemes described in Setting Up the Power Source on page 4 On the STK600, use a 6-pin ribbon cable to wire the connector marked ISP/PDI to the 6-pin connector next to it. See Figure 4-1 for guidance. Note polarity Figure 4-1. Serial programming mode, soldered device 6 AVR602

AVR602 In AVR Studio, open the programming window (Tools Program AVR Connect). On the Main tab set Programming Mode and Target Settings to ISP mode. Then click Settings in Programming Mode and Target Settings and make sure ISP Clock is below ¼ of the device clock frequency Check connections by clicking Read Signature in section Device and Signature Bytes' on tab Main. The correct signature for ATtiny43U is 0x1E 0x92 0x0C. 4.1.2 Parallel Mode How to set up the hardware for parallel programming of soldered device: Choose the power supply option for the ATtiny43U and configure it according to one of the schemes described in Setting Up the Power Source on page 4 On the STK600, use one 10-pin ribbon cable to wire the connector marked PROGDATA to the header next to it. Then use another 10-pin ribbon cable to wire connector PROGCTRL to the header next to it. See Figure 4-2 for guidance. Note polarity Figure 4-2. Parallel programming mode, soldered device 4.2 Programming a Device in the ZIF Socket In AVR Studio, open the programming window (Tools Program AVR Connect). On the Main tab set Programming Mode and Target Settings to PP/HVSP mode. The ATtinyX3U Top Module includes a zero insertion force (ZIF) socket for programming purposes. The socket is wired to the four connectors J9 (PROG DATA), 7

J10 (PROG CTRL), J11 (ISP) and J12 (AUX). No other parts of the board are connected to the socket. The device in the socket can be programmed in both serial and parallel mode, as described in the following sections. 4.2.1 Serial Mode How to set up the hardware for serial programming of a socketed device: Choose the power supply option for the ATtiny43U and configure it according to one of the schemes described in Setting Up the Power Source on page 4 On the STK600, use a 6-pin ribbon cable to wire the connector marked ISP/PDI to the 6-pin ISP connector on the ATtinyX3U Top Module. See Figure 4-3 for guidance. Note polarity Figure 4-3. Serial programming mode, socketed device In AVR Studio, open the programming window (Tools Program AVR Connect). On the Main tab set Programming Mode and Target Settings to ISP mode. Then click Settings in Programming Mode and Target Settings and make sure ISP Clock is below ¼ of the device clock frequency Check connections by clicking Read Signature in section Device and Signature Bytes' on tab Main. The correct signature for ATtiny43U is 0x1E 0x92 0x0C. 4.2.2 Parallel Mode How to set up the hardware for parallel programming of socketed device: Choose the power supply option for the ATtiny43U and configure it according to one of the schemes described in Setting Up the Power Source on page 4 On the STK600, use one 10-pin ribbon cable to wire the connector marked PROGCTRL to the connector marked PROG CTRL on the ATtinyX3U Top 8 AVR602

AVR602 Module. Use another 10-pin ribbon cable to connect PROGDATA on STK600 to PROG DATA on ATtinyX3U. See Figure 4-4 for guidance. Note polarity Figure 4-4. Parallel programming mode, socketed device In AVR Studio, open the programming window (Tools Program AVR Connect). On the Main tab set Programming Mode and Target Settings to PP/HVSP mode. Check connections by clicking Read Signature in section Device and Signature Bytes' on tab Main. The correct signature for ATtiny43U is 0x1E 0x92 0x0C. 5 Known Issues This is a list of known issues. Some or all issues may be fixed in future revisions of hardware or software. To submit an issue that is not listed here, please contact technical support at avr@atmel.com. Currently, there are no known issues. 9

6 Schematic 10 AVR602

Disclaimer Headquarters International Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Atmel Asia Unit 1-5 & 16, 19/F BEA Tower, Millennium City 5 418 Kwun Tong Road Kwun Tong, Kowloon Hong Kong Tel: (852) 2245-6100 Fax: (852) 2722-1369 Atmel Europe Le Krebs 8, Rue Jean-Pierre Timbaud BP 309 78054 Saint-Quentin-en- Yvelines Cedex France Tel: (33) 1-30-60-70-00 Fax: (33) 1-30-60-71-11 Atmel Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan Tel: (81) 3-3523-3551 Fax: (81) 3-3523-7581 Product Contact Web Site http://www.atmel.com/ Technical Support avr@atmel.com Sales Contact www.atmel.com/contacts Literature Request www.atmel.com/literature Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN ATMEL S TERMS AND CONDITIONS OF SALE LOCATED ON ATMEL S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically provided otherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. 2009 Atmel Corporation. All rights reserved. Atmel, logo and combinations thereof, AVR, AVR Studio, STK and others, are the registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Windows is a registered trademark of Microsoft Corporation in US and or other countries. Other terms and product names may be trademarks of others.