STK521. User Guide B AVR 01/12

Similar documents
APPLICATION NOTE. Atmel AVR1638: XMEGA RTC Calibration. 8-bit Atmel Microcontrollers. Features. Introduction

Atmel AVR1619: XMEGA-B1 Xplained Demonstration. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

APPLICATION NOTE. Atmel AT01080: XMEGA E Schematic Checklist. Atmel AVR XMEGA E. Features. Introduction

APPLICATION NOTE. AT03324: Atmel REB212BSMA-EK Quick Start Guide. Atmel MCU Wireless. Introduction

Atmel QT600 Quick Start Guide Touch Solutions

Atmel CryptoAuthentication Starter Kit

Atmel AVR473: ATAVRSB202 Hardware User Guide. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

AVR1518: XMEGA-A1 Xplained Training - XMEGA Clock System. 8-bit Atmel Microcontrollers. Application Note. Prerequisites.

Table Of Contents TABLE OF CONTENTS...1

Hardware Prerequisites Atmel Xplained Pro Evaluation Kit Atmel WINC1500 extension USB Micro Cable (TypeA / MicroB)

APPLICATION NOTE. Atmel AT03304: SAM D20 I 2 C Slave Bootloader SAM D20. Description. Features

APPLICATION NOTE. Atmel AT03160: Migrating Bootloader from ATxmega128A1 to other Atmel XMEGA Devices. Atmel AVR XMEGA. Features.

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

Atmel AVR32847: Migration from/to the UC3L0 64/32/16 from/to the UC3L0 256/ bit Atmel Microcontrollers. Application Note.

Atmel ATMXT143E touchscreen controller Capacitive touch ITO 320 x 240 pixel LCD display with SPI interface LED backlight

APPLICATION NOTE. Atmel AVR057: Internal RC Oscillator Calibration for ATtiny4/5/9/10/20/40. 8-bit Atmel Microcontrollers. Features.

Atmel AVR1924: XMEGA-A1 Xplained Hardware User's Guide. 8-bit Atmel Microcontrollers. Application Note. Preliminary. Features.

APPLICATION NOTE. Atmel AVR536: Migration from ATmega644 to ATmega644A. 8-bit Atmel Microcontrollers. Introduction

Atmel AVR1926: XMEGA-B1 Xplained Getting Started Guide. 8-bit Atmel Microcontrollers. Application Note. Features. 1 Introduction

APPLICATION NOTE. Atmel AT02260: Driving AT42QT1085. Atmel QTouch. Features. Description

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

Atmel LF-RFID Kit Comparison Chart. Application Note. Atmel LF-RFID Kit Comparison Chart. 1. Description

AVR32917: picopower Board getting started. 32-bit Microcontrollers. Application Note. Preliminary. Features. 1 Introduction

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

32Kbytes on-chip SRAM. Viterbi decoding and CRC PRIME compliant 128-bit AES encryption Channel sensing and collision pre-detection

OLED display with pixels resolution Ambient light sensor CPU load Analog filter Quadrature Encoder with push button Digital I/O

AVR1503: Xplain training - XMEGA Programmable Multi Interrupt Controller 8-bit Microcontrollers Application Note Prerequisites

APPLICATION NOTE. Atmel AVR2131: Lightweight Mesh Getting Started Guide. Atmel MCU Wireless. Features. Description

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

Section 5 SERCOM. Tasks SPI. In this section you will learn:

APPLICATION NOTE. Atmel AVR3009: Driving QTouch Device with I 2 C Interface. Atmel QTouch. Introduction

Atmel AT697F. Rad-Hard 32-bit SPARC v8 Processor ERRATA SHEET. Active Errata List

USER GUIDE. Wireless Production Test Reference Protocol Specification Document. Atmel MCU Wireless. Description

APPLICATION NOTE. Atmel AT03782: Using Low Power Modes in SAM4N Microcontroller. Atmel 32-bit Microcontroller. Features.

AVR based 125kHz RFID Evaluation Kit (Re)Programming Guide ATA2270-EK1. Overview. Fuse Settings: ISP Programming

AVR4018: Inertial Two (ATAVRSBIN2) Hardware User's Guide. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1501: Xplain training XMEGA Timer/Counter 8-bit Microcontrollers Application Note Prerequisites 1 Introduction

APPLICATION NOTE. Atmel AVR116: Wear Leveling on DataFlash. 32-bit Atmel Microcontrollers. Features. Description. Wear leveling

ATAVRAUTO User Guide

AVR469: MC301 Hardware User Guide. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32901: EVKLCD100/EVKLCD101 Hardware User's Guide. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

Table of Contents TABLE OF CONTENTS...1

USER GUIDE. ATmega168 Xplained Mini User Guide. Introduction

a clock signal and a bi-directional data signal (SCL, SDA)

Getting Started with the SAM4L-EK Demo

AVR532: Migration from ATmega48/88/168 to ATmega48A/88A/168A. 8-bit Microcontrollers. Application Note. 1 Introduction

ATAVRAUTO User Guide

Atmel AT697F. Rad-Hard 32-bit SPARC v8 Processor ERRATA SHEET. Active Errata List

One-channel Toggle-mode Touch Sensor IC with Power Management Functions AT42QT1012. Summary

SBAT90USB162 Atmel. SBAT90USB162 Development Board User s Manual

OLED display Sensors readout. Light sensor Temperature sensor

8-bit Microcontroller with 16K Bytes In-System Programmable Flash. ATtiny87 ATtiny167 Automotive

AVR1303: Use and configuration of IR communication module. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AT88CK101 HARDWARE USER GUIDE. Atmel CryptoAuthentication Development Kit. Atmel CryptoAuthentication AT88CK101 Daughterboard

Embedded AVR Microcontroller Including RF Transmitter and Immobilizer LF Functionality for Remote Keyless Entry ATA5795. Summary.

AVR32752: Using the AVR32 UC3 Static Memory Controller. 32-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR1508: Xplain training - XMEGA DAC 8-bit Microcontrollers Application Note Features 1 Introduction

AT89ISP Programmer Cable Introduction AT89ISP Programmer Cable Parallel Port Settings Application Note AT89ISP Software AT89ISP Cable polarized

USER GUIDE. ZigBit USB Stick User Guide. Introduction

USER GUIDE. Atmel OLED1 Xplained Pro. Preface

AVR1512: XMEGA-A1 Xplained training - XMEGA Basics. 8-bit Atmel Microcontrollers. Application Note. Prerequisites. 1 Introduction

ATDH2200E Programming Kit... User Guide

QTouch 8-key Touch Sensor IC AT42QT1085. Summary

AVR42789: Writing to Flash on the New tinyavr Platform Using Assembly

8-megabyte, 4-megabyte, and 2-megabyte 2.7-volt Only DataFlash Cards AT45DCB008D AT45DCB004D AT45DCB002D. Not Recommended for New Design

AT06467: Getting started with SAM D09/D10/D11. Features. Description. SMART ARM-based Microcontrollers APPLICATION NOTE

AVR097: Migration between ATmega128 and ATmega1281/ATmega bit Microcontrollers. Application Note. Features. 1 Introduction

DBAT90USB162 Atmel. DBAT90USB162 Enhanced Development Board User s Manual

Atmel AVR1912: Atmel XMEGA-B1 Xplained Hardware User Guide. 8-bit Atmel Microcontrollers. Application Note. Features.

AVR1315: Accessing the XMEGA EEPROM. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

AVR32401: AVR32 AP7 Linux Interfacing DataFlash. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

USER GUIDE. Atmel QT1 Xplained Pro. Preface

USER GUIDE EDBG. Description

LBAT90USB162 Atmel. LBAT90USB162 Development Board User s Manual

AT03975: Getting Started with SAM L21. Descripton. Features. SMART ARM-Based Microcontroller APPLICATION NOTE

USER GUIDE. Atmel Segment LCD1 Xplained Pro. Preface

Ethernet1 Xplained Pro

USER GUIDE. Atmel QT6 Xplained Pro. Preface

AT17F Series. Application Note. Programming Circuits for AT17F Series Configurators with Xilinx FPGAs. 1. Introduction

8-bit Microcontroller with 2K/4K/8K Bytes In-System Programmable Flash. Appendix A. Preliminary. ATtiny261 ATtiny461 ATtiny861 Automotive

Non Volatile Rad Hard Reprogrammable FPGA. ATF280 SRAM-based FPGA AT69170 Serial EEPROM. 2x SRAM-based FPGA designed for Space use - ATF280

AT91 ARM Thumb-based Microcontroller. Application Note. AT91SAM7X and AT91SAM7XC Microcontroller Series Schematic Check List. 1.

USER GUIDE. Atmel PROTO1 Xplained Pro. Preface

APPLICATION NOTE. AT11008: Migration from ATxmega16D4/32D4 Revision E to Revision I. Atmel AVR XMEGA. Introduction. Features

EDBG. Description. Programmers and Debuggers USER GUIDE

SAM4 Reset Controller (RSTC)

AVR32 UC3 Software Framework... User Manual

32Kbytes on-chip SRAM Up to 256Kbytes external SRAM

AT60142H/HT. Rad-Hard 512Kx8 Very Low Power CMOS SRAM ERRATA-SHEET. Active Errata List. Errata History. Abbreviations. 1.

Native route discovery algorithm

STK User Guide

APPLICATION NOTE. Atmel QT4 Xplained Pro User Guide ATAN0114. Preface

USER GUIDE. ATWINC1500 Xplained Pro. Preface

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

Asynchronous SRAM Operating Voltage: 5V Read Access Time: 40 ns Write Cycle Time: 30 ns Very Low Power Consumption (Pre-RAD)

ATtiny104 Xplained Nano. Preface. AVR 8-bit Microcontrollers USER GUIDE

Smart RF Device Family - Getting Started Guide. Features. Description. References ATAN0115 APPLICATION NOTE

AVR2015: RZRAVEN Quick Start Guide. 8-bit Microcontrollers. Application Note. Features. 1 Introduction

CAN Microcontrollers. Application Note. Migrating from T89C51CC01 to AT89C51CC03. Feature Comparison

QT3 Xplained Pro. Preface. Atmel QTouch USER GUIDE

Transcription:

STK521... User Guide

Table of Contents Section 1 1 Introduction 1 Features 2 Section 2 3 Using the STK521 Top Module 3 Connecting the Atmel STK521 to the Atmel STK500 Starter Kit 3 Powering the STK521 4 Programming the AVR 5 Atmel AVR JTAGICE mkii Connector 7 Atmel STK521 switches configuration 9 Atmel STK521 headers 10 Atmel STK521 test points 11 Extra functions 11 Section 3 12 Troubleshooting Guide 12 Section 4 13 Technical Specifications 13 Section 5 14 Technical Support 14 Section 6 15 Complete Schematics 15 STK521 User Guide 1-2

Section 1 Introduction The Atmel AVR STK 521 kit is made of the Atmel AVR STK521 board. The STK521 board is a top module for the Atmel STK500 development board from Atmel Corporation. It is designed to support the Atmel AT90PWM81, Atmel AT90PWM161 products and future compatible derivatives. The STK521 includes connectors and hardware allowing full utilization of the new features of the AT90PWM81/161, while the Zero Insertion Force (ZIF) socket allows easy to use of SOIC20 package for prototyping. This user guide acts as a general getting started guide as well as a complete technical reference for advanced users. Note that in this guide, the word AVR is used to refer to the target components (AT90PWM81/161). AT90PWM81 will be also used to refer to one of the products from this family. Figure 1-1. STK521 Top Module for STK500. STK521 User Guide 1-1

1.1 Features Atmel AVR STK521 is a new member of the successful Atmel STK500 starter kit family Supports the Atmel AT90PWM81, Atmel AT90PWM161 Supported by Atmel AVR Studio 4.15 or above and Atmel AVR Studio 5.1 Zero Insertion Force Socket for SOIC20 Package Zero Insertion Force Socket for QFN32 Package (not populated) High Voltage Parallel Programming Serial Programming 6-pin Connector for On-chip Debugging using Atmel AVR JTAGICE mkii or Atmel AVR Dragon emulators Switches for Reset/GPIOs configuration, Xtal/GPIOs or power supply configuration External power supply connector for standalone mode Quick Reference to all Jumpers in the Silk-Screen of the PCB STK521 User Guide 1-2

Section 2 Using the STK521 Top Module 2.1 Connecting the Atmel STK521 to the Atmel STK500 Starter Kit Connect the STK521 to the STK500 expansion header 0 and 1. It is important that the top module is connected in the correct orientation as shown in Figure 2-1. The EXPAND0 written on the STK521 top module should match the EXPAND0 written beside the expansion header on the STK500 board. Figure 2-1. Connecting STK521 to the STK500 Board. Note: Connecting the STK521 with wrong orientation may damage the board. STK521 User Guide 2-3

2.1.1 Placing an Atmel AT90PWM81 on the Atmel STK521 The STK521 contains a ZIF socket for a SOIC20 package. Care should be taken so that the device is mounted with the correct orientation. Figure 2-2 shows the location of pin1 for the ZIF socket. Figure 2-2. Pin1 on ZIF Socket. PIN1 Caution: Do not mount an Atmel AT90PWM81 on the STK521 at the same time as an AVR is mounted on the STK500 board. None of the devices might work as intended. 2.2 Powering the STK521 The STK521 can be powered as follows : 1. Through the STK500 by selecting POWER switch to VTG. 2. Through an external power supply using the jack connector and selecting POWER switch to VEXT. In this latter case, power supply must be 10V DC for a 5V device power supply. STK521 User Guide 2-4

2.3 Programming the AVR The Atmel AT90PWM81 can be programmed using both serial SPI and high-voltage parallel programming. This section will explain how to connect the programming cables to successfully use one of these two modes. The Atmel AVR Studio STK500 software is used in the same way as for other AVR parts. Note: The AT90PWM81 also supports Self Programming, see the Atmel AVR109 application note for more information on this topic. 2.3.1 Serial in-system programming Figure 2-3. Serial in-system programming. To program the AT90PWM81 using ISP programming mode, connect the 6-wire cable between the ISP6PIN connector on the Atmel STK500 board and the ISP connector on the Atmel STK521 board as shown in Figure 2-3. The device can be programmed using the Serial Programming mode in the AVR Studio 4 STK500 software. STK521 User Guide 2-5

The Atmel STK500 and STK521 jumpers must be configured as follows : Table 2-1. In-System programming jumper settings for the Atmel AT90PWM81. STK500 VTARGET Mounted AREF Open RESET Open XTAL1 Mounted OSCSEL Mounted, pin 1 and 2 BSEL2 Open PJUMP Open Note: See the Atmel STK500 User Guide for information on how to use the STK500 front-end software for ISP Programming. 2.3.2 High-voltage programming Figure 2-4. High-voltage (parallel) programming. STK521 User Guide 2-6

To program the AVR using high-voltage (parallel) programming, connect the PROG_CTRL of the Atmel STK500 to PRG_CTRL of the Atmel STK521 and PROG_DATA of STK500 to PRG_DATA of STK521 as shown in Figure 2-4. Make sure that the CLOCK switch is placed in the STK500 position. The STK500 and STK521 jumpers & switches must must be configured as follows : Table 2-2. High-Voltage programming jumper settings for the Atmel AT90PWM81. STK500 VTARGET AREF RESET XTAL1 Mounted Open Mounted Mounted OSCSEL Mounted, pin 1 and 2 BSEL2 PJUMP Mounted Open Table 2-3. High-voltage programming switches settings for AT90PWM81. STK521 POWER CLOCK RESET VTG STK500 RST/ The device can now be programmed using the high-voltage programming mode in the Atmel AVR Studio STK500 software. Note: See the Atmel STK500 User Guide for information on how to use the STK500 front-end software in high-voltage programming mode. For the high-voltage programming mode to function correctly, the target voltage must be higher than 4.5V. 2.4 Atmel AVR JTAGICE mkii Connector See the following document : JTAGICE mkii Quick Start Guide which purpose is Connecting to a target board with the AVR JTAGICE mkii. This note explains which signals are required for ISP and which signals are required for debugwire. Figure 2-5 shows how to connect the Atmel AVR JTAGICE mkii probe on the STK521 board. STK521 User Guide 2-7

Figure 2-5. Connecting the Atmel AVR JTAGICE mkii to the Atmel STK521. PIN1 The ISP connector is used for the Atmel AT90PWM81 built-in debugwire interface. The pin out of the connector is shown in Table 2-4 and is compliant with the pin out of the JTAG ICE available from Atmel. Connecting a JTAGICE mkii to this connector allows on-chip debugging of the AT90PWM81. More information about the JTAGICE mkii and on-chip debugging can be found in the Atmel AVR JTAGICE mkii User Guide, which is available at the Atmel web site, www.atmel.com. Note: Remove the RESET jumper on the Atmel STK500 to work run properly JTAGICE mkii. Table 2-4. STK521 ISP/DW connector pinout. Squid cable colors Target pins STK521 ISP pinout Target pins Squid cable colors grey MISO 1 2 VTG purple black SCK 3 4 MOSI red green RESET 5 6 GND brown Note: MISO, MOSI, and SCK lines can be disconnected when the product is in debugging mode. They can then be used for application purpose. STK521 User Guide 2-8

2.5 Atmel STK521 switches configuration The switches shown in Figure 2-6 are described in Table 2-5. Figure 2-6. STK521 switches. Table 2-5. STK521 switches description. Switches Function Description CLOCK RESET POWER Clock source selection Reset pin configuration Power supply source selection EXT: clock from crystal plugged in Ext Clock socket STK500: clock from Atmel STK500 INT RC: clock from internal RC oscillator RST/: Product reset pin is connected to STK500 reset button PE0: Product reset pin is connected to PE0 on PORTE header VEXT: External power supply through power jack VTG: STK500 power supply through expansion header STK521 User Guide 2-9

2.6 Atmel STK521 headers Headers are populated for both high voltage programming purpose as well as for port connection to LEDs or switches. Figure 2-7. STK521 port headers. High Voltage Programmming Interface Port D header Port E header Port D header STK521 User Guide 2-10

2.7 Atmel STK521 test points Table 2-6. STK521 test points. Test Point Function Description T1 GND GND test point T2 GND GND test point These are placed on both right and left side of the board for probes. 2.8 Extra functions The STK521 includes a footprint for a ZIF QFN32 5x5 mm socket to evaluate QFN32 package. The socket is not mounted but can be populated using the PN : QFN32(40)BT-0.5-02 from Enplas. STK521 User Guide 2-11

Section 3 Troubleshooting Guide Table 3-1. Troubleshooting guide. Problem Reason Solution Unable to do ISP and highvoltage programming using Internal 1MHz RC oscillator Usage of internal 1MHz RC oscillator not recommended To start the microcontroller in low power mode, use the 128KHz oscillator STK521 User Guide 3-12

Section 4 Technical Specifications System unit Physical dimensions................................. 56mm x 119mm x 27mm Weight.............................................................70g Operating conditions Voltage supply.................................................1.8v - 5.5V Temperature.................................................. 0 C - 50 C STK521 User Guide 4-13

Section 5 Technical Support For technical support, please contact avr@atmel.com. When requesting technical support, please include the following information: Which target AVR device is used (complete part number) Target voltage and speed Clock source and fuse setting of the AVR Programming method (ISP or high-voltage) Hardware revisions of the AVR tools, found on the PCB Version number of the Atmel AVR Studio. This can be found in the AVR Studio help menu PC operating system and version/build PC processor type and speed A detailed description of the problem STK521 User Guide 5-14

Section 6 Complete Schematics On the following pages the complete schematics and assembly drawing of the Atmel STK521 revision B are shown. STK521 User Guide 6-15

Figure 6-1. Schematics, 1 of 3. STK521 User Guide 6-16

Figure 6-2. Schematics, 2 of 3. STK521 User Guide 6-17

Figure 6-3. Schematics, 3 of 3. STK521 User Guide 6-18

Figure 6-4. Assembly drawing, 1 of 1. STK521 User Guide 6-19

Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 USA Tel: (+1)(408) 441-0311 Fax: (+1)(408) 487-2600 www.atmel.com Atmel Asia Limited 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 Munich GmbH Business Campus Parkring 4 D-85748 Garching b. Munich GERMANY Tel: (+49) 89-31970-0 Fax: (+49) 89-3194621 Atmel Japan 16F, Shin Osaki Kangyo Bldg. 1-6-4 Osaki Shinagawa-ku Tokyo 104-0032 JAPAN Tel: (+81) 3-6417-0300 Fax: (+81) 3-6417-0370 2012 Atmel Corporation. All rights reserved. Atmel, Atmel logo and combinations thereof, AVR, AVR Studio, STK, and others are registered trademarks or trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. 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 THE ATMEL TERMS AND CONDITIONS OF SALES LOCATED ON THE ATMEL WEBSITE, 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 AND PROF- ITS, 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 products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life.