Atmel STK502 manual

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
30
31
32
33

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto Atmel STK502. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoAtmel STK502 vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual Atmel STK502 você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual Atmel STK502, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual Atmel STK502 deve conte:
- dados técnicos do dispositivo Atmel STK502
- nome do fabricante e ano de fabricação do dispositivo Atmel STK502
- instruções de utilização, regulação e manutenção do dispositivo Atmel STK502
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque Atmel STK502 não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos Atmel STK502 e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço Atmel na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas Atmel STK502, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo Atmel STK502, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual Atmel STK502. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    STK502 .................................................................. ............................ User Guide[...]

  • Página 2

    [...]

  • Página 3

    STK502 User Gu ide i 2528A–AVR–11/02 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 ...............[...]

  • Página 4

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

  • Página 5

    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. The Zero Inse rtion Force (ZIF) s ocket m[...]

  • Página 6

    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.  High Voltage Parallel Programm ing.  Serial Prog[...]

  • Página 7

    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. It is important that the top module is connecte d in the correct orientation as[...]

  • Página 8

    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. 2.2 PORT Connectors ATmega169 have additional ports to those avail[...]

  • Página 9

    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. The “RST ” is the RESET -signal that c omes from the S TK500 board . Please[...]

  • Página 10

    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. The AVR Studio STK500 s oftware is used in [...]

  • Página 11

    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. Make sure that the TOSC-switch [...]

  • Página 12

    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. The pin out of the conn ector is sho wn in Fi gure 2-9 an d[...]

  • Página 13

    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. See the Technical Sp ecifications for more detai ls on the d[...]

  • Página 14

    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. See Section 4.1 “STK502 LCD Bit Ma ppings” 2.5.3 Using Both Colons on the Display With[...]

  • Página 15

    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 shown in Figure 2- 12 Other LCD-displays can be c onnected t o the ATme ga169, eithe r through t he header “Segment pins from A Tmega169” whe re al[...]

  • Página 16

    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. F[...]

  • Página 17

    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. A NTC- thermistor is characterised by the fact that when the temperature go[...]

  • Página 18

    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. This is th e default po sition.  V[...]

  • Página 19

    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. The LCD is not enab led in the AVR device. Check the LCD initialisation ([...]

  • Página 20

    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 ”. Parallel Pr og ram ming does not w ork. Cables n ot con[...]

  • Página 21

    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 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 7 0 g Operati[...]

  • Página 22

    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[...]

  • Página 23

    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). The LCD on the STK502 us es all fou r Common Line s and all 25 s egments, i n total 4 x 25 = [...]

  • Página 24

    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. Table 4-5. Bit Mapping s for LCD Alphanume ric D[...]

  • Página 25

    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).  Target volt age and spe ed.  Clock source and fuse setti ng [...]

  • Página 26

    Technica l Support 5-2 STK502 User Guid e 2528A–AVR–11/02[...]

  • Página 27

    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 .[...]

  • Página 28

    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.. 0] PCT[7..[...]

  • Página 29

    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.1020.B Connectors.Sch 23 27-Aug-2002 16:12:07 STK502 add-on card for ATmega169, CONNECTORS ATMEL Norway Vestre Rosten 78, 7075 TILLER NORWAY PAGE: of TITLE: Document number: Revision: B Date: GND GND[...]

  • Página 30

    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.B Peripherals.Sch 33 27-Aug-2002 16:12:07 STK502 add-on card for ATmega169, LCD, Sensor, 32kHz ATMEL Norway Vestre Rosten 78, 7075 TILLER NORWAY PAGE: of TITLE: Document number: Revision: B Date:[...]

  • Página 31

    Complete Sche matics STK502 User Gu ide 6-5 2528A–AVR–11/02 Figure 6-4. A ssembly Drawing, 1 of 1[...]

  • Página 32

    Complete Schematics 6-6 STK502 User Guid e 2528A–AVR–11/02[...]

  • Página 33

    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. The Company assumes no responsibili ty for[...]