Atmel STK502 user manual

User manual for the device Atmel STK502

Device: Atmel STK502
Size: 1,01 MB
Date of adding : 2013-05-05 15:38:28
Number of pages: 33
Print the manual


How to use this site?

Our goal is to provide you with a quick access to the content of the user manual for Atmel STK502. Using the online preview, you can quickly view the contents and go to the page where you will find the solution to your problem with Atmel STK502.

For your convenience

If looking through the Atmel STK502 user manual directly on this website is not convenient for you, there are two possible solutions:

  • Full Screen Viewing - to easily view the user manual (without downloading it to your computer), you can use full-screen viewing mode. To start viewing the user manualAtmel STK502 on full screen, use the buttonFullscreen.
  • Downloading to your computer - You can also download the user manual Atmel STK502 to your computer and keep it in your files. However, if you do not want to take up too much of your disk space, you can always download it in the future from ManualsBase.
Atmel STK502 user manual
« Page 1 of 33 »
Print version

Many people prefer to read the documents not on the screen, but in the printed version. The option to print the manual has also been provided, and you can use it by clicking the link above - Print the manual. You do not have to print the entire manual Atmel STK502 but the selected pages only. paper.


Below you will find previews of the content of the user manuals presented on the following pages to Atmel STK502. If you want to quickly view the content of pages found on the following pages of the manual, you can use them.

Abstracts of contents
Summary of the content on the page No. 1

User Guide

Summary of the content on the page No. 2

Summary of the content on the page No. 3

Table of Contents Section 1 Introduction ........................................................................................... 1-1 Section 2 Using the STK502 Top Module............................................................. 2-1 2.1 Connecting the STK502 to the STK500 Starter Kit...................................2-1 2.1.1 Placing an ATmega169 on STK502 ...................................................2-1 2.2 PORT Connectors...........................................................

Summary of the content on the page No. 4

Table of Contents Section 5 Technical Support................................................................................. 5-1 Section 6 Complete Schematics........................................................................... 6-1 ii STK502 User Guide 2528A–AVR–11/02

Summary of the content on the page No. 5

Section 1 Introduction The STK502 board is a top module designed to add ATmega169 support to the STK500 development board from Atmel Corporation. STK502 includes connectors and hardware allowing full utilization of the new features of the ATmega169. The Zero Insertion Force (ZIF) socket makes it easy to use of TQFP packages for prototyping. This user guide is a general getting started guide as well as a complete technical refer- ence for advanced users. The STK502 board also includes a demonstra

Summary of the content on the page No. 6

Introduction 1.1 Features  Supports the ATmega169 with Built-in LCD Controller.  LCD-on-glass Display for Demonstrating the ATmega169 LCD Controller. ®  Supported by AVR Studio 4.  Zero Insertion Force Socket for TQFP Packages.  High Voltage Parallel Programming.  Serial Programming.  TQFP Footprint for Emulator Adapters.  Port Extension Connectors for Port E, F, and G.  LCD Display Header for Using an External LCD Display.  LCD and Other Peripherals Can be Disconnected from the Device

Summary of the content on the page No. 7

Section 2 Using the STK502 Top Module This section describes in detail how the STK502 is used with the STK500. 2.1 Connecting the Connect STK502 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. EXPAND0 written STK502 to the on the STK502 top module should match EXPAND0 written beside the expansion STK500 Starter header on the STK500 board. Kit Figure 2-1. Connecting STK502 to the STK500 Board Note: Con

Summary of the content on the page No. 8

Using the STK502 Top Module Figure 2-2. Pin1 on ZIF Socket and TQFP Footprint Caution: Do not mount an ATmega169 on the STK502 at the same time as an AVR is mounted on the STK500 board. Neither of the devices will work as intended. 2.2 PORT ATmega169 have additional ports to those available on the STK500. The ports are located on the STK502 board. They have the same pin out and functionality as the ports Connectors on the STK500 board. Port A to Port D are already present on the STK500 board. T

Summary of the content on the page No. 9

Using the STK502 Top Module Figure 2-4. PORTG/RST 1 2 PG0 PG1 PG2 PG3 PG4 PG5 NC RST GND VTG PORTG/RST PG0 - PG5 These are general I/O ports connected to ZIF socket and the TQFP footprint. RST On the ATmega169 the RESET-signal and PG5 share the same pin. The “RST” is the RESET-signal that comes from the STK500 board. Please note that it is not directly con- nected to the ZIF socket or the TQFP footprint on the STK502. This because the RESET-signal on the STK500 has an pull

Summary of the content on the page No. 10

Using the STK502 Top Module 2.3 Programming the The ATmega169 can be programmed using both SPI and High-voltage Parallel Pro- gramming. This section will explain how to connect the programming cables to ATmega169 successfully use one of these two modes. The AVR Studio STK500 software is used in the same way as for other AVR parts as described in the STK500 User Guide. Note: The ATmega169 also support Self Programming, See AVR109 application note for more information on this topic. Note: The jum

Summary of the content on the page No. 11

Using the STK502 Top Module 2.3.2 High-voltage Figure 2-7. High-voltage (Parallel) Programming Programming To program the ATmega169 using High-voltage (Parallel) Programming, connect the PROGCTRL to PORTD and PROGDATA to PORTB on the STK500 as shown in Figure 2-7. Make sure that the TOSC-switch is placed in the XTAL position. See Section 2.6, “TOSC Switch”. As described in the STK500 User Guide (jumper settings), mount the BSEL2 jumper in order to High-voltage Program the ATmega devices. This s

Summary of the content on the page No. 12

Using the STK502 Top Module 2.4 JTAG Connector Figure 2-8 shows how to connect the JTAG ICE probe on the STK502 board. Figure 2-8. Connecting JTAG ICE to the STK502 The JTAG connector is used for the ATmega169 built-in JTAG interface. The pin out of the connector is shown in Figure 2-9 and is compliant with the pin out of the JTAG ICE available from Atmel. Connecting a JTAG ICE to this connector allows On-chip Debug- ging of the ATmega169. More information about the JTAG ICE and On-chip Debuggi

Summary of the content on the page No. 13

Using the STK502 Top Module 2.5 LCD Display STK502 includes a LCD display. It features six 14-segments digits, and some additional segments. All in all the display supports 120 segments. The display is designed for 3V operating voltage. See the Technical Specifications for more details on the display. 2.5.1 Connecting the The segment-pins from the ATmega169 are located at PORTA, PORTC, PORTD, and STK502 LCD to the PORTG. For simplicity in use they are all joined together on the header labeled “

Summary of the content on the page No. 14

Using the STK502 Top Module Figure 2-11. Pin out for LCD Headers 1 2 1 2 SEG01 SEG02 LCD27 LCD28 SEG03 SEG04 LCD29 LCD04 SEG05 SEG06 LCD06 LCD25 SEG07 SEG08 LCD26 LCD05 SEG09 SEG10 LCD08 LCD22 SEG11 SEG12 LCD23 LCD07 SEG13 SEG14 LCD10 LCD20 SEG15 SEG16 LCD21 LCD09 SEG17 SEG18 LCD14 LCD12 SEG19 SEG20 LCD11 LCD13 SEG21 SEG22 LCD18 LCD16 SEG23 SEG24 LCD15 LCD17 SEG25 NC LCD19 LCD03 NC NC LCD24 LCD30 NC NC LCD31 LCD32 COM00 COM01 BP1 BP2 COM02 COM03 BP4 BP3 Seg. M169 LCD Pins This hardwar

Summary of the content on the page No. 15

Using the STK502 Top Module Figure 2-12. Jumper to connect COL1 to COL2 Figure 2-13. Default LCD-segment configuration, with and without the jumper shown in Figure 2-12 Other LCD-displays can be connected to the ATmega169, either through the header “Segment pins from ATmega169” where all the segment pins are gathered or through the ordinary Port-connectors PORTA, PORTC, PORTD, and PORTG. Note: Make sure the display is compatible with the electrical characteristics on the ATmega169. For more

Summary of the content on the page No. 16

Using the STK502 Top Module 2.6 TOSC Switch Figure 2-14. TOSC Switch On the ATmega169 the TOSC1 and TOSC2 lines are shared with XTAL1 and XTAL2. The TOSC switch selects whether the 32 kHz crystal on the STK502, or the XT1/XT2 signals from STK500 should be connected to these pins on the device. Figure 2-15 shows a simplified block schematic on how this is implemented. Figure 2-15. TOSC Block Schematic 32 kHz AVR XTAL1/TOSC1 XT1 To STK500 XTAL2/TOSC2 XT2 TOSC Switch 2-10 STK502 User Guide 2528

Summary of the content on the page No. 17

Using the STK502 Top Module 2.7 Sensor Figure 2-16. NTC-thermistor STK502 includes a two screw-terminal block where a sensor can be connected. The STK502 kit is shipped with a NTC-thermistor attached to this screw-terminal. A NTC- thermistor is characterised by the fact that when the temperature goes down the resis- tance goes up. Using a voltage divider and reading the voltage over the thermistor through the ADC-channels on ATmega169, the temperature can be calculated. Applica- tion note “AVR0

Summary of the content on the page No. 18

Using the STK502 Top Module AREF Switch The switch named AREF selects the input to the AREF-pin on the ATmega169. Figure 2-18. AREF Switch AVR From AREF STK500 AREF STK502 VREF Voltage refernce STK502 for the sensor AREF Switch Positions:  AREF: In this position the AREF from the STK500 is connected to the AREF pin on the ATmega169. This is the default position.  VREF: In this position the VREF from the 1.263V voltage reference on the STK502 is connected to the AREF pin on the ATm

Summary of the content on the page No. 19

Section 3 Troubleshooting Guide Table 3-1. Troubleshooting Guide Problem Reason Solution The LCD is not connected. Attach the 34-pins cable between the to 34-pins headers on the STK502. Nothing is displayed on (1) The LCD is not enabled in Check the LCD initialisation . the LCD. the AVR device. The update frequency is Verify that the clock prescaling (1) not correct. correspond with the clock source . The PORTA/C/D and/or G Check that nothing is connected to Some segments on the are conne

Summary of the content on the page No. 20

Troubleshooting Guide Table 3-1. Troubleshooting Guide Problem Reason Solution Cables not connected Please refer to Figure 2-7 for properly. correct Parallel Programming setup. STK500 target voltage Please refer to the ATmega169 data error. sheet for the Parallel Programming Parallel Programming Voltage limits. Adjust the target does not work. voltage on the STK500 board accordingly. The TOSC switch is not Set the TOSC switch in the XTAL- correctly set. position. The RESET-signal is not C

Similar user manuals
# User manual Category Download
1 Atmel AT91 Switch 12
2 Sony BZPS-8001 Switch 21
3 Sony DFS-700P Switch 119
4 Sony DVS-9000 Switch 30
5 Sony DVS-9000SF Switch 21
6 Sony DFS-700 Switch 174