ATMEL STK520 User Manual

STK520
..............................................................................................
User Guide
Table of Contents
Section 1
Section 2
Using the STK520 Top Module.............................................................2-4
2.1 Connecting the STK520 to the STK500 Starter Kit .................................. 2-4
2.1.1 Placing an AT90PWM3 on the STK520............................................. 2-4
2.1.2 Placing an AT90PWM2 on the STK520............................................. 2-5
2.2 Programming the AVR.............................................................................. 2-7
2.2.1 In-System Programming....................................................................2-7
2.2.2 High-voltage Programming................................................................2-8
2.3 JTAGICE mkII Connector.........................................................................2-9
2.4 STK520 Jumpers, Leds & Test Points....................................................2-11
2.5 DALI Interface....................... .............................................. ...... ....... ...... . 2-12
2.6 Potentiometer......................................................................................... 2-13
Section 3
Troubleshooting Guide........................................................................3-14
Section 4
Technical Specifications......................................................................4-16
Section 5
Technical Support...............................................................................5-17
Section 6
Complete Schematics .........................................................................6-20
STK520 User Guide 3
7510A–AVR–08/05
The STK520 board is a top module de signed to ad d AT90PW M family suppo rt to the STK500 development board from Atmel Corporation.
The STK520 includes connectors and hardware allowing full utilization of the new fea­tures of th e AT90 PWM , whil e th e Ze ro I nser tio n For ce (Z IF) soc ket allo ws eas y t o use of SO24 & SO32 packages for prototyping.
This user guide ac ts as a gen eral ge tting st arted gui de as wel l as a compl ete tec hnical reference for advanced users.
Notice that in this guide, the word AVR is used to refer to the target component (AT90PWM2, AT90PWM3...)
Figure 1-1. STK520 Top Module for STK500

Introduction

Section 1
Introduction
STK520 User Guide 1-2
7510A–AVR–08/05
Introduction
1.1 Features STK520 is a New Member of the Successful STK500 Starter Kit Family.
Supports the AT90PWM2 & AT90PWM3.DALI Hardware Interface.
®
Supported by AVR StudioZero Insertion Force Socket for SO24 & SO32 Packages.High Voltage Parallell Programming.Serial Programming.DALI Peripherals can be Disconnected from the Device.6 Pin Connector for On-chip Debugging using JTAG MKII Emulator.Potentiometer for the Demo Application.Quick Reference to all Switches and Jumpers in the Silk-Screen of the PCB.
4.
1-3 STK520 User Guide
7510A–AVR–08/05

Using the STK520 Top Module

Section 2
Using the STK520 Top Module

2.1 Connecting the STK520 to the STK500 Starter Kit

Figure 2-1. Connecting STK520 to the STK500 Board
Connect the STK520 to the STK500 expansion header 0 and 1. It is important that the top module is connected in the correct orienta tion as show n in Figure 2-1 . The EXPAND0 written on the STK520 top module should match the EXPAND0 written beside the expansion header on the STK500 board.
Note: Connecting the STK520 with wrong orientation may damage the board.

2.1.1 Placing an AT90PWM3 on the STK520

STK520 User Guide 2-4
The STK520 contains both a ZIF socket for a SO32 package. Care should be taken so that the device is moun ted with the corr ect ori entatio n. Figur e 2-2 sh ows the l ocation o f pin1 for the ZIF socket.
7510A–AVR–08/05
Using the STK520 Top Module
Figure 2-2. Pin1 on ZIF Socket
PIN1

2.1.2 Placing an AT90PWM2 on the STK520

Caution: Do not mount an AT90PWM3 on the STK520 at the same time as an AVR is
mounted on the STK500 board or at the same time as an AT90PWM2 is mounted on the STK520 board. None of the devices might work as intended.
The STK520 contains both a ZIF socket for a SO24 package. Care should be taken so that the device is moun ted with the corr ect ori entatio n. Figur e 2-2 sh ows the l ocation o f pin1 for the ZIF socket.
Figure 2-3. Pin1 on ZIF Socket
PIN1
2-5 STK520 User Guide
7510A–AVR–08/05
Using the STK520 Top Module
Caution: Do not mount an AT90PWM2 on the STK520 at the same time as an AVR is mounted on the STK500 board or at the same time as an AT90PWM3 is mounted on the STK520 board. None of the devices might work as intended.
STK520 User Guide 2-6
7510A–AVR–08/05
Using the STK520 Top Module

2.2 Programming the AVR

2.2.1 In-System Programming

The AVR (AT90PWM2, AT90PWM3...) can be programmed using both 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 AVR Studio STK500 software is used in the same way as for other AVR parts Note: The AT90PWM3 also support Self Programming, See AVR109 application note
for more information on this topic.
Figure 2-4. In-System Programming
To program the AT 90PWM3 us ing ISP Programm ing mode , connect t he 6-wire cable between the ISP 6PIN connec tor on the STK500 boar d and the ISP connector o n the STK520 board as shown in Figure 2-4. The device can be programmed using the Serial Programming mode in the AVR Studio4 STK500 software. Note: See STK500 User Guide for information on how to use the STK500 front-end
software for ISP Programming.
2-7 STK520 User Guide
7510A–AVR–08/05
Loading...
+ 16 hidden pages