background image

 Printed on recycled paper.

2528A–AVR–11/02

/0M

© Atmel Corporation 2002.
Atmel Corporation makes no warranty for the use of its products, other than those expressly contained in the Company’s standard warranty
which is detailed in Atmel’s Terms and Conditions located on the Company’s web site. The Company assumes no responsibility for any errors
which may appear in this document, reserves the right to change devices or specifications detailed herein at any time without notice, and does
not make any commitment to update the information contained herein. No licenses to patents or other intellectual property of Atmel are granted
by the Company in connection with the sale of Atmel products, expressly or by implication. Atmel’s products are not authorized for use as critical
components in life support devices or systems.

Atmel Headquarters

Atmel Operations

Corporate Headquarters

2325 Orchard Parkway
San Jose, CA 95131
TEL 1(408) 441-0311
FAX 1(408) 487-2600

Europe

Atmel Sarl
Route des Arsenaux 41
Case Postale 80
CH-1705 Fribourg
Switzerland
TEL (41) 26-426-5555
FAX (41) 26-426-5500

Asia

Room 1219
Chinachem Golden Plaza
77 Mody Road Tsimhatsui
East Kowloon
Hong Kong
TEL (852) 2721-9778
FAX (852) 2722-1369

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

Memory

2325 Orchard Parkway
San Jose, CA 95131
TEL 1(408) 441-0311
FAX 1(408) 436-4314

Microcontrollers

2325 Orchard Parkway
San Jose, CA 95131
TEL 1(408) 441-0311
FAX 1(408) 436-4314

La Chantrerie
BP 70602
44306 Nantes Cedex 3, France
TEL (33) 2-40-18-18-18
FAX (33) 2-40-18-19-60

ASIC/ASSP/Smart Cards

Zone Industrielle
13106 Rousset Cedex, France
TEL (33) 4-42-53-60-00
FAX (33) 4-42-53-60-01

1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906
TEL 1(719) 576-3300
FAX 1(719) 540-1759

Scottish Enterprise Technology Park
Maxwell Building
East Kilbride G75 0QR, Scotland 
TEL (44) 1355-803-000
FAX (44) 1355-242-743

RF/Automotive

Theresienstrasse 2
Postfach 3535
74025 Heilbronn, Germany
TEL (49) 71-31-67-0
FAX (49) 71-31-67-2340

1150 East Cheyenne Mtn. Blvd.
Colorado Springs, CO 80906
TEL 1(719) 576-3300
FAX 1(719) 540-1759

Biometrics/Imaging/Hi-Rel MPU/
High Speed Converters/RF Datacom

Avenue de Rochepleine
BP 123
38521 Saint-Egreve Cedex, France
TEL (33) 4-76-58-30-00
FAX (33) 4-76-58-34-80

e-mail

[email protected]

Web Site

http://www.atmel.com

ATMEL

®

, AVR

®

, and AVR Studio

®

 are the registered trademarks of Atmel Corporation.

Microsoft

®

, Windows

®

, and Windows NT

®

 are the registered trademarks of Microsoft Corporation.

Other terms and product names may be the trademarks of others.

Содержание STK502

Страница 1: ...STK502 User Guide...

Страница 2: ......

Страница 3: ...JTAG Connector 2 6 2 5 LCD Display 2 7 2 5 1 Connecting the STK502 LCD to the ATmega169 2 7 2 5 2 Default Segment Configuration 2 7 2 5 3 Using Both Colons on the Display 2 8 2 6 TOSC Switch 2 10 2 7...

Страница 4: ...Table of Contents ii STK502 User Guide 2528A AVR 11 02 Section 5 Technical Support 5 1 Section 6 Complete Schematics 6 1...

Страница 5: ...ping 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 demonstration application and comes with two appl...

Страница 6: ...sion 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 JTAG Connector for On chip Debugging Using JTAG IC...

Страница 7: ...the STK502 top module should match EXPAND0 written beside the expansion header on the STK500 board Figure 2 1 Connecting STK502 to the STK500 Board Note Connecting STK502 with wrong orientation may d...

Страница 8: ...y as the ports on the STK500 board Port A to Port D are already present on the STK500 board They are not duplicated on the STK502 2 2 1 PORT E PORT F Figure 2 3 shows the pin out for the I O port head...

Страница 9: ...hat 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 up resistor to VCCT which will interfere with PG5 when u...

Страница 10: ...ing See AVR109 application note for more information on this topic Note The jumper for the Reset signal on PORTG RST must be mounted before any programming can take place See Section 2 2 2 2 2 3 1 In...

Страница 11: ...mount the BSEL2 jumper in order to High voltage Program the ATmega devices This setting also applies to High voltage Programming of the ATmega169 The device can now be programmed using the High volta...

Страница 12: ...n 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...

Страница 13: ...TB and PORTD Be sure to disconnect any LCD display connected to the ATmega169 during the High voltage Programming Otherwise the lifetime of the display may be reduced Caution When using PORTA PORTC PO...

Страница 14: ...lock date etc shall be displayed it can be useful to control both colons on the LCD display But connecting these LCD pins will also lead to a connection between segment see Technical Specifications S5...

Страница 15: ...gh 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 information on how to write software...

Страница 16: ...re 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 s...

Страница 17: ...t 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 calculate...

Страница 18: ...h Positions PIN In this position the PF0 and PF1 are from the PORTF on the STK502 are connected to the PF0 and PF1 on the ATmega169 Default position Sensor In this position the pin 1 from the screw te...

Страница 19: ...he LCD seems to be stuck at high low The PORTA C D and or G are connected to something else than the LCD display Check that nothing is connected to these PORTS on the STK500 and STK502 Can t control P...

Страница 20: ...properly Please refer to Figure 2 7 for correct Parallel Programming setup STK500 target voltage error Please refer to the ATmega169 data sheet for the Parallel Programming Voltage limits Adjust the t...

Страница 21: ...1 Rev 2528A AVR 11 02 Section 4v Technical Specifications System Unit Physical Dimensions 56 x 119 x 27 mm Weight 70 g Operating Conditions Voltage Supply 1 8V 5 5V Temperature 0 C 50 C LCD display O...

Страница 22: ...Technical Specifications 4 2 STK502 User Guide 2528A AVR 11 02 Figure 4 1 Layout for the STK502 LCD display...

Страница 23: ...w 4 1 3 Alphanumeric Digit Number Four The bit mappings for the alphanumeric digit number four are listed below 4 1 4 Alphanumeric Digit Number Five The bit mappings for the alphanumeric digit number...

Страница 24: ...git number seven are listed below Table 4 5 Bit Mappings for LCD Alphanumeric Digit Number Six Register Name Bit7 Bit6 Bit5 Bit4 Bit3 Bit2 Bit1 Bit0 LCDDR2 6 K 9 S9 6 A LCDDR7 6 J 6 F 6 H 6 B LCDDR12...

Страница 25: ...ion 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 fo...

Страница 26: ...Technical Support 5 2 STK502 User Guide 2528A AVR 11 02...

Страница 27: ...STK502 User Guide 6 1 Rev 2528A AVR 11 02 Section 6 Complete Schematics On the following pages the complete schematics and assembly drawing of the STK502 revision B are shown...

Страница 28: ...TG AVTG 1 2 C102 100N_16V_X7R 1 2 C103 100N_16V_X7R 1 2 C107 100N_16V_X7R 1 2 C106 100N_16V_X7R 2 1 L100 BLM 21A102S GND 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 3...

Страница 29: ...202 1 2 3 4 5 6 7 8 9 10 J204 1 2 3 4 5 6 7 8 9 10 J203 1 2 3 4 5 6 7 8 9 10 J205 EXPAND0 EXPAND1 1 2 C201 100N_16V_X7R 1 2 C200 100N_16V_X7R 1 2 C202 100N_16V_X7R 1 2 C203 100N_16V_X7R GND GND VTG VT...

Страница 30: ...20 S4 5F 5E 5P 21 4 4H 4G 4N 22 S3 4F 4E 4P 23 3 COL1 S7 7 24 S2 3H 3G 3N 25 2 3F 3E 3P 26 2A 2B 2C 2D 27 S1 2H 2G 2N 28 1 2F 2E 2P 29 X1 1B 1C S6 30 1A 1J 1N 1D 31 1F 1G 1E X2 32 BP1 33 BP2 34 LCD di...

Страница 31: ...Complete Schematics STK502 User Guide 6 5 2528A AVR 11 02 Figure 6 4 Assembly Drawing 1 of 1...

Страница 32: ...Complete Schematics 6 6 STK502 User Guide 2528A AVR 11 02...

Страница 33: ...FAX 852 2722 1369 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 Memory 2325 Orchard Parkway San Jose CA 95131 TEL 1 408 441 0311 FAX...

Отзывы: