Page 3 - Table of Contents
STK502 User Guide i 2528A–AVR–11/02 Table of Contents Section 1Introduction ........................................................................................... 1-1 Section 2Using the STK502 Top Module ............................................................. 2-1 2.1 Connecting the STK502...
Page 4 - ii
Table of Contents ii STK502 User Guide 2528A–AVR–11/02 Section 5Technical Support ................................................................................. 5-1 Section 6Complete Schematics ........................................................................... 6-1
Page 6 - Introduction; Features
Introduction 1-2 STK502 User Guide 2528A–AVR–11/02 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. Ser...
Page 7 - Connecting STK502 with wrong orientation may damage the board.
STK502 User Guide 2-1 Rev. 2528A–AVR–11/02 Section 2 Using the STK502 Top Module This section describes in detail how the STK502 is used with the STK500. 2.1 Connecting the STK502 to the STK500 Starter Kit Connect STK502 to the STK500 expansion header 0 and 1. It is important that the topmodule is c...
Page 8 - Using the STK502 Top Module; Figure 2-2. Pin1 on ZIF Socket and TQFP Footprint
Using the STK502 Top Module 2-2 STK502 User Guide 2528A–AVR–11/02 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 ismounted on the STK500 board. Neither of the devices will work as intended. 2.2 PORT Connectors ATmega169 h...
Page 9 - RST; If the pin shall be used as an I/O-pin the jumper must be removed.; NC
Using the STK502 Top Module STK502 User Guide 2-3 2528A–AVR–11/02 Figure 2-4. PORTG/RST 2.2.2.1 PG0 - PG5 These are general I/O ports connected to ZIF socket and the TQFP footprint. 2.2.2.2 RST On the ATmega169 the RESET-signal and PG5 share the same pin. The “RST” is theRESET-signal that comes from...
Page 12 - JTAG Connector; Figure 2-8. Connecting JTAG ICE to the STK502
Using the STK502 Top Module 2-6 STK502 User Guide 2528A–AVR–11/02 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 ofthe connector...
Page 13 - LCD Display
Using the STK502 Top Module STK502 User Guide 2-7 2528A–AVR–11/02 2.5 LCD Display STK502 includes a LCD display. It features six 14-segments digits, and some additionalsegments. All in all the display supports 120 segments. The display is designed for 3Voperating voltage. See the Technical Specifica...
Page 15 - Figure 2-12. Jumper to connect COL1 to COL2
Using the STK502 Top Module STK502 User Guide 2-9 2528A–AVR–11/02 Figure 2-12. Jumper to connect COL1 to COL2 Figure 2-13. Default LCD-segment configuration, with and without the jumper shown inFigure 2-12 Other LCD-displays can be connected to the ATmega169, either through the header“Segment pins f...
Page 16 - TOSC Switch; AVR
Using the STK502 Top Module 2-10 STK502 User Guide 2528A–AVR–11/02 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/XT2signals from STK500 should be connect...
Page 17 - Sensor; Sensor Switches; Figure 2-17. Temperature sensor switches
Using the STK502 Top Module STK502 User Guide 2-11 2528A–AVR–11/02 2.7 Sensor Figure 2-16. NTC-thermistor STK502 includes a two screw-terminal block where a sensor can be connected. TheSTK502 kit is shipped with a NTC-thermistor attached to this screw-terminal. A NTC-thermistor is characterised by t...
Page 18 - AREF Switch
Using the STK502 Top Module 2-12 STK502 User Guide 2528A–AVR–11/02 2.7.1.1 AREF Switch The switch named AREF selects the input to the AREF-pin on the ATmega169. Figure 2-18. AREF Switch Positions: AREF: In this position the AREF from the STK500 is connected to the AREF pin on the ATmega169. This is ...
Page 19 - Problem; The LCD is not connected.
STK502 User Guide 3-1 Rev. 2528A–AVR–11/02 Section 3 Troubleshooting Guide Table 3-1. Troubleshooting Guide Problem Reason Solution Nothing is displayed on the LCD. The LCD is not connected. Attach the 34-pins cable between the to 34-pins headers on the STK502. The LCD is not enabled in the AVR devi...
Page 22 - Technical Specifications
Technical Specifications 4-2 STK502 User Guide 2528A–AVR–11/02 Figure 4-1. Layout for the STK502 LCD-display
Page 23 - Table 4-1. Bit Mappings for LCD Alphanumeric Digit Number Two
Technical Specifications STK502 User Guide 4-3 2528A–AVR–11/02 4.1 STK502 LCD Bit Mappings The LCD Data Registers (LCDDRx) in the ATmega169 are organized in groups accord-ing to the use of Backplane Control Lines (also known as Common Lines). The LCD onthe STK502 uses all four Common Lines and all 2...
Page 24 - Table 4-5. Bit Mappings for LCD Alphanumeric Digit Number Six
Technical Specifications 4-4 STK502 User Guide 2528A–AVR–11/02 4.1.5 Alphanumeric Digit Number Six The bit mappings for the alphanumeric digit number six are listed below. 4.1.6 Alphanumeric Digit Number Seven The bit mappings for the alphanumeric digit number seven are listed below. Table 4-5. Bit ...
Page 25 - Target voltage and speed.
STK502 User Guide 5-1 Rev. 2528A–AVR–11/02 Section 5 Technical Support For Technical support, please contact [email protected]. When requesting technical sup-port, please include the following information: Which target AVR device is used (complete part number). Target voltage and speed. Clock source and...
Page 26 - Technical Support
Technical Support 5-2 STK502 User Guide 2528A–AVR–11/02
Page 28 - Complete Schematics
Complete Schematics 6-2 STK502 User Guide 2528A–AVR–11/02 Figure 6-1. Schematics, 1 of 3 1 2 3 4 5 6 78 A B C D 8 7 6 5 4 3 2 1 D C B A A9903.3.1020.B MCU.Sch 13 27-Aug-2002 16:12:06 STK502 add-on card for ATmega169, SOCKETS ATMEL Norway Vestre Rosten 78, 7075 TILLER NORWAY PAGE: of TITLE: Document ...