Instruction/ maintenance manual of the product STK502 Atmel
Go to page of 33
STK502 .................................................................. ............................ User Guide.
.
STK502 User Gu ide i 2528A–AVR–11/02 Table of Contents Section 1 Introduction .......................................................................... ................. 1-1 Section 2 Using the STK502 Top Module ..................................
Table of C ontents ii STK502 User Guide 2528A–AVR–11/02 Section 5 Technical Support .......................... ....................................................... 5-1 Section 6 Complete Schematics ....................................... ......
STK502 User Gu ide 1-1 Rev. 2528A–AVR–11/0 2 Section 1 Introduction The STK502 b oard is a to p module desi gned to add ATmega169 su pport to the STK500 development board from Atm el Corporation. STK502 inclu des connectors and hardware al lowing full uti lization of th e new features of the ATmega 169.
Introduc tion 1-2 STK502 User Guid e 2528A–AVR–11/02 1.1 Features Supports the ATmeg a169 with Built-in LCD Controller. LCD-on-gla ss Display f or Demonstrat ing the ATm ega169 LCD Co nt roller. Supported b y AVR Studio ® 4. Zero Insertion Force Sock et for TQF P Packages.
STK502 User Gu ide 2-1 Rev. 2528A–AVR–11/0 2 Section 2 Using the STK502 Top Module This section des cri be s in detail how the STK50 2 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.
Using th e STK502 To p Mo dule 2-2 STK502 User Guid e 2528A–AVR–11/02 Figure 2-2. Pin1 on ZIF Socket a nd TQFP Footprint Caution: Do not mount an AT mega169 on the STK5 02 at the same time as an AVR is mounted on the STK500 board . Neither of the devices wil l work as intend ed.
Using the STK50 2 To p Mod ul e STK502 User Gu ide 2-3 2528A–AVR–11/02 Figure 2-4. PORTG/RST 2.2.2.1 PG0 - PG5 These are gene ral I/O ports co nnected to ZIF s ocket and the TQFP footprint. 2.2.2.2 RST On the ATmega169 the RESET -si gnal and PG5 share the s ame pin.
Using th e STK502 To p Mo dule 2-4 STK502 User Guid e 2528A–AVR–11/02 2.3 Programming the ATmega169 The ATmega169 can be programmed using both SPI a nd High-voltage Parallel Pro- gramming. This sec tion will expla in how to connect the prog ramming cable s to successf ully use one of th ese two modes.
Using the STK50 2 To p Mod ul e STK502 User Gu ide 2-5 2528A–AVR–11/02 2.3.2 High-voltage Programming Figure 2 -7. High-vol tage (Parallel ) Programming To program the ATm ega169 using High-v oltage (Parallel) Programm ing, connect the PROGCTRL to PORTD and PROGDATA to PORT B on the STK500 as shown in Figure 2-7.
Using th e STK502 To p Mo dule 2-6 STK502 User Guid e 2528A–AVR–11/02 2.4 JTAG Connector Figure 2-8 s hows how to co nnect the J TAG ICE probe on t h e STK502 board. Figure 2-8. Co nnecting JTAG ICE to the ST K502 The JTAG conne ctor is used for the ATmega169 bu ilt-in JTAG interfac e.
Using the STK50 2 To p Mod ul e STK502 User Gu ide 2-7 2528A–AVR–11/02 2.5 LCD Display STK502 includ es a LCD dis play. It featu res six 14-se gments digi ts, and some additional segments. All in all the display supports 120 segments. The display is designed for 3V operating v oltage.
Using th e STK502 To p Mo dule 2-8 STK502 User Guid e 2528A–AVR–11/02 Figure 2-11. Pin out for LCD Headers This hardware configuration will give a certai n bit-mapping be tween the bits in the ATmega169 LCDDRx Register and the segments on the STK5 02 LCD.
Using the STK50 2 To p Mod ul e STK502 User Gu ide 2-9 2528A–AVR–11/02 Figure 2-12. Jump er to connect COL1 to COL 2 Figure 2-13. Default L CD-segment configuration , with and without the jumper s.
Using th e STK502 To p Mo dule 2-10 STK502 User Guid e 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 switc h selects whether the 32 kHz cry stal on the STK50 2, or the XT1/XT2 signals fro m STK500 should be connec ted to these pi ns on the d evice.
Using the STK50 2 To p Mod ul e STK502 User Gu ide 2-11 2528A–AVR–11/02 2.7 Sensor Figure 2-16. NTC-thermistor STK502 includes a t wo screw-termin al block where a sensor ca n be connected. The STK502 kit is shipped with a NTC-thermistor attached to this screw-terminal.
Using th e STK502 To p Mo dule 2-12 STK502 User Guid e 2528A–AVR–11/02 2.7.1.1 AREF Switch The switch n amed AREF se lects the inpu t to the AREF-pin on the ATmega1 69. Figure 2-18. AREF Swi tch Positions: AREF: In this positi on the AREF from the STK500 is co nnected to t he AREF pin on the ATmega 169.
STK502 User Gu ide 3-1 Rev. 2528A–AVR–11/0 2 Section 3 Troubleshooting Guide Table 3-1. Troubleshootin g Guide Proble m Reason Solution Nothing is displa ye d on the LCD. The LCD is not connec ted. Attach the 3 4-pins ca ble between the to 34-pins head er s on the STK502.
Troublesh oo tin g Guide 3-2 STK502 User Guid e 2528A–AVR–11/02 Note: 1. See the ap plication not e “AVR065: LC D Driver for t he STK502 LC D” on how to co n- trol the LCD- display or the the appli cation note “AVR064: ST K502 – A Temperatur e Monitoring System with LCD Output ”.
STK502 User Gu ide 4-1 Rev. 2528A–AVR–11/0 2 Section 4v Technical Specifications System Unit Physical Dimensions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 56 x 119 x 27 mm Weight . . . . . . . . . . . . . . . . . .
Technica l Specification s 4-2 STK502 User Guid e 2528A–AVR–11/02 Figure 4-1. L ayout for the STK5 02 LCD-display.
Technic al Specifi cations STK502 User Gu ide 4-3 2528A–AVR–11/02 4.1 STK502 LCD Bit Mappings The LCD Data Registers (LCDDRx ) in the ATmega169 are org anized in grou ps accord- ing to the use of Back plane Control Lines (also kno wn as Common Li nes).
Technica l Specification s 4-4 STK502 User Guid e 2528A–AVR–11/02 4.1.5 A lphanumeric Digit Number Six The bit map pings for the al phanumeric digit numbe r six are listed below. 4.1.6 A lphanumeric Digit Number Seven The bit mappin gs for the al phanumeric dig it number se ven are lis ted below.
STK502 User Gu ide 5-1 Rev. 2528A–AVR–11/0 2 Section 5 Technical Support For Techn ical sup port, plea se conta ct avr@at mel.co m. When re questin g technic al sup- port, please include the f ollowing info rmation: Which target AVR d evice is used (c omplete part nu mber).
Technica l Support 5-2 STK502 User Guid e 2528A–AVR–11/02.
STK502 User Gu ide 6-1 Rev. 2528A–AVR–11/0 2 Section 6 Complete Schematics On the foll owing page s the comple te schemati cs and assemb ly drawin g of the STK502 revision B are sh own .
Complete Schematics 6-2 STK502 User Guid e 2528A–AVR–11/02 Figure 6-1. S chematics, 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 number: Revision: B Date: PAT[7.
Complete Sche matics STK502 User Gu ide 6-3 2528A–AVR–11/02 Figure 6-2. S chematics, 2 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.
Complete Schematics 6-4 STK502 User Guid e 2528A–AVR–11/02 Figure 6-3. S chematics, 3 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.
Complete Sche matics STK502 User Gu ide 6-5 2528A–AVR–11/02 Figure 6-4. A ssembly Drawing, 1 of 1.
Complete Schematics 6-6 STK502 User Guid e 2528A–AVR–11/02.
Printed on recy cled 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 At mel’s Terms and Conditions located on the Company’s web site.
An important point after buying a device Atmel STK502 (or even before the purchase) is to read its user manual. We should do this for several simple reasons:
If you have not bought Atmel STK502 yet, this is a good time to familiarize yourself with the basic data on the product. First of all view first pages of the manual, you can find above. You should find there the most important technical data Atmel STK502 - thus you can check whether the hardware meets your expectations. When delving into next pages of the user manual, Atmel STK502 you will learn all the available features of the product, as well as information on its operation. The information that you get Atmel STK502 will certainly help you make a decision on the purchase.
If you already are a holder of Atmel STK502, but have not read the manual yet, you should do it for the reasons described above. You will learn then if you properly used the available features, and whether you have not made any mistakes, which can shorten the lifetime Atmel STK502.
However, one of the most important roles played by the user manual is to help in solving problems with Atmel STK502. Almost always you will find there Troubleshooting, which are the most frequently occurring failures and malfunctions of the device Atmel STK502 along with tips on how to solve them. Even if you fail to solve the problem, the manual will show you a further procedure – contact to the customer service center or the nearest service center