background image

Complete Schematics

6-6

STK502 User Guide

2528A–AVR–11/02

Summary of Contents for STK502

Page 1: ...STK502 User Guide...

Page 2: ......

Page 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...

Page 4: ...Table of Contents ii STK502 User Guide 2528A AVR 11 02 Section 5 Technical Support 5 1 Section 6 Complete Schematics 6 1...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 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...

Page 22: ...Technical Specifications 4 2 STK502 User Guide 2528A AVR 11 02 Figure 4 1 Layout for the STK502 LCD display...

Page 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...

Page 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...

Page 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...

Page 26: ...Technical Support 5 2 STK502 User Guide 2528A AVR 11 02...

Page 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...

Page 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...

Page 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...

Page 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...

Page 31: ...Complete Schematics STK502 User Guide 6 5 2528A AVR 11 02 Figure 6 4 Assembly Drawing 1 of 1...

Page 32: ...Complete Schematics 6 6 STK502 User Guide 2528A AVR 11 02...

Page 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...

Reviews: