Atmel STK594 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
34
35
36
37
38
39
40
41

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of Atmel STK594, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of Atmel STK594 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of Atmel STK594. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of Atmel STK594 should contain:
- informations concerning technical data of Atmel STK594
- name of the manufacturer and a year of construction of the Atmel STK594 item
- rules of operation, control and maintenance of the Atmel STK594 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of Atmel STK594 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of Atmel STK594, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the Atmel service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of Atmel STK594.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the Atmel STK594 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    STK5 94 ............ .......... ......... ................... ......... ................... ......... ....... User Guid e[...]

  • Page 2

    [...]

  • Page 3

    T ab l e of Cont ent s Sect ion 1 Introdu ction ........... ................... ......... ......... ................... ......... ............... 1-1 1.1 F eatur es ... ... .. ..... .. ..... .. ... .... ... .... ... .. ..... .. ..... .. ... .... ... .... ... .. ..... .. ..... .. ... ..... .. ..1-2 Sect ion 2 Using the STK594 Top M od ule ..........[...]

  • Page 4

    Se cti o n 4 Using System Designer ........... ......... ................... ......... ......... ............... 4-1 4.1 Prepari ng the Exa mple File s ................. ..................... ............................. .. 4-1 4.2 D escri ptio n .... .. ... .... ... ..... .. .. ..... .. ..... .. ... ..... .. ..... .. .. ..... .. ..... ... .. ....[...]

  • Page 5

    FPSLIC STK594 User Guide 1-1 Rev. 28 19A– FPSLI–07/02 Secti on 1 Introduct ion The STK594 boar d is a top mod ule designed t o add AT94K FPSLI C ™ suppor t to the ST K500 development board. With this board t he STK500 is ext ended to support all cur- rent AT94K FP SLIC devices in a single developmen t environment. The S TK594 in clu des conn [...]

  • Page 6

    Intr oducti on 1-2 FPSL IC STK594 User Guide 2819A–F PSLI–07/0 2 1. 1 Featur es STK 5 00 C om pat i bl e A VR Studio ® and System Designer ™ Co m pa t ib le Supp or ts A T94K AL and A T94KAX De v ices Supp or ts all Add ed Features in FPS LIC Devices JT A G Conn ector f or On-chip Debugging Using JT AG ICE Addi ti o nal RS-232C P or t with A[...]

  • Page 7

    FPSLIC STK594 User Guide 2-1 Rev. 28 19A– FPSLI–07/02 Secti on 2 Using the STK594 Top Module 2. 1 Prep aring the STK500 for Use with the STK594 Prio r to using the S TK59 4 with the STK50 0, it is n ecessary to ma ke a few a djustm ents to t he STK 500 S tar ter K i t to all ow for pr oper op erati on of Atmel’ s AT94 K FPSLI C de vice s. 2. [...]

  • Page 8

    Using the STK59 4 Top Module 2-2 FPSL I C STK594 User Guide 2819A–F PSLI–07/0 2 Fi gur e 2-1 . Connec ting the STK594 to the STK500 Board Note: Connec ting the STK594 with the wrong ori e ntation may damage the boards. Note: Do not mount the S TK594 at t he same time an AVR is m ounted on the ST K500 board. 2. 2 PORT Con nector s Since the AT94[...]

  • Page 9

    Using the STK59 4 Top Module FPSLIC STK594 User Guide 2-3 2819A – FPSLI – 07/02 2.3 P ro gram min g th e AT94K De vices Th e F PSL IC c onf igur ati on pro ces s in vol ve s con fig urin g th e F PG A, the AV R ® pro gram co de and t he FP SLIC dat a me mor y. This c onfigurat ion req uire s a sing le bitst ream t hat config ures the FPGA, the[...]

  • Page 10

    Using the STK59 4 Top Module 2-4 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02 2. 5 TOSC Switch The AT94K d evice provides dedicated I/O pins for TOSC1 and TOSC2, rather than sharing w it h the general p urpose I/O pins. The TOSC switc h selects whether or not the 32 kHz crystal is connected to the pins of the device. Figure 2-5 shows a simp[...]

  • Page 11

    Using the STK59 4 Top Module FPSLIC STK594 User Guide 2-5 2819A – FPSLI – 07/02 2. 7 Two-Wir e Seri al Interf ace (TWSI) The AT94K device includ es dedicated I/O pi ns for the TWSI rather than sharing with the general purpos e I/O pins. Figure 2-8 shows the pinout of a header for the dedicated TWSI pins. Fi gur e 2-8 . TWS I Header 2.7.1 Des cr[...]

  • Page 12

    Using the STK59 4 Top Module 2-6 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02 2. 9 Split Power S uppl y Supp or t The AT94K FPSLIC devic es exist in two di fferent v ariati ons, the AL and AX. The AL variation i s a 3.3V device m anufact ured on a 0 .35µ proces s, wh ile the A X variation has a 1.8V core manufac tured on a 0. 1 8µ process[...]

  • Page 13

    FPSLIC STK594 User Guide 3-1 Rev. 28 19A – FP SL I – 07/02 Secti on 3 Instal ling System Designer Syste m Desi gner is the idea l software platfo rm for all AT94K FPSLIC d evelopme nt. It inclu des an Editor, an A ssem bler a nd a De bug ger as i ts devel opmen t tool s for th e em bed ded A VR de velo pmen t, a nd also includ es a S im ulat or[...]

  • Page 14

    Inst al li ng Syste m Designer 3-2 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02 3.2 S yst e m D es i g ner Installa tion This in s tall atio n assumes that you have no p revious ver s io n of Syst em D e signer installed in your machi ne. If you have a previous version of the software installed or you need step-by-s tep i n stallation instr[...]

  • Page 15

    Instal ling System De signer FPSLIC STK594 User Guide 3-3 2819A – FPSLI – 07/02 3. 4.2 Con figur ing t he System Design er Li cen se 1. Once you ha ve receiv ed your System Designer licen se from Atme l, place the file in the C:SystemDesigner di re ct ory . 2. Launch the Men tor Graphics License Configuration Utility from Star t > Programs [...]

  • Page 16

    Inst al li ng Syste m Designer 3-4 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02[...]

  • Page 17

    FPSLIC STK594 User Guide 4-1 Rev. 28 19A – FP SL I – 07/02 Secti on 4 Using System Designer Thi s tut ori al wil l guide you thr ough the r equi red s teps fo r de sign ing and pr ogra mming AT 94K seri es devices using System Designer. 4. 1 Prep aring the Example F iles Before starting the tutorial, a few p reparations need to be performed: 1.[...]

  • Page 18

    Using Syst em Designe r 4-2 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02 Fi gur e 4-1 . Tutorial D esign Block Dia gram 4. 3 Design F low The design present ed in this tutorial, onl y performs th e req uired steps for designing and pr ogram ming an AT94K serie s devi ce. Fo r more i nform ation on the op tion al step s (i.e. Si mu lat ion a[...]

  • Page 19

    Using Syst em Designer FPSLIC STK594 User Guide 4-3 2819A – FPSLI – 07/02 Fi gur e 4-3 . Ne w P roject Wizard Window - S tep 1 of 6 3. Press Ne xt . The window to create a project file opens, see Figure 4-4. Fi gur e 4-4 . Ne w P roject Wizard Window - S tep 2 of 6 4. Set the Pr oject Direc tory to C:SystemDesignerDesignsSTK594 , nam e the p[...]

  • Page 20

    Using Syst em Designe r 4-4 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02 Fi gur e 4-5 . New Project Wizard Window - Step 3 of 6 5. Select A T94 K40AL-25DQC from the pa r ts li st as this i s the par t f ound on the STK594 dev e lopment bo ard, and pres s Ne xt . The s oftware tool flow wi ndow opens, see F igure 4-6. Fi gur e 4-6 . New Proj[...]

  • Page 21

    Using Syst em Designer FPSLIC STK594 User Guide 4-5 2819A – FPSLI – 07/02 Fi gur e 4-7 . New Project Wizard Window - Step 5 of 6 7. Select Done with P ar t s . Syst em Design er suppo r ts multiple par t par titioning, howe ver for this tutorial only one par t will be us ed. Press Ne xt . The las t step of the wizard opens, see Figure 4-8. Fi g[...]

  • Page 22

    Using Syst em Designe r 4-6 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02 Fi gur e 4-9 . Project W indow 9. F rom the System Designer des ktop , click on the P ar t Gra phic (see Figure 4-9) to s w it ch to th e Design Flow Manager , see Figure 4-10. Figure 4-10. Design F low Manag er The D esig n F low Ma nag er show s the s teps ava ilabl [...]

  • Page 23

    Using Syst em Designer FPSLIC STK594 User Guide 4-7 2819A – FPSLI – 07/02 4. 5 Assembli ng the Micr ocon troller Sour ce Code The A tmel AVR As sembler t ranslates assemb ly source c ode into object code. The gen- erat e d obje ct co de ca n then be used as an i nput t o a sim ula tor , emu lato r su ch as the Atm el AVR J TAG In-C ircuit Em u [...]

  • Page 24

    Using Syst em Designe r 4-8 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02 Figure 4-12. Leonardo Spectrum, S uccessful Sy nthesis 7. Close Leonardo Spect rum, whe n p rompted to sa ve y our project press No . 4. 7 AVR-FPG A Interf ace The A VR-FPGA Interface dialog provide s a means for making the con nections between the embedded F PGA and A[...]

  • Page 25

    Using Syst em Designer FPSLIC STK594 User Guide 4-9 2819A – FPSLI – 07/02 3. Connect the c ounter's LOAD signal to FPGA- A VR I/O Select 0 . 4. Select the A VRI oSelects tab on the right-hand side of the dialog bo x. 5. Select the LO AD signal from the Input Des ign P o r ts and sel ect IOSELA0 fro m the A VRIoSelects . 6. Press Connect . [...]

  • Page 26

    Using Syst em Designe r 4-10 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02 2. Select Open EDIF Netlist and B rowse to sel ect COUNTER.EDF , then pres s OK . Figaro should open and compl ete the Open , Map , and Pa r t s steps aut omatically , once com pleted t he Figaro B atch O ptions dialog app ears, see Figure 4-15. Figure 4-15. Figaro Ba[...]

  • Page 27

    Using Syst em Designer FPSLIC STK594 User Guide 4-11 2819A – FPSLI – 07/02 4. 9 Bitstrea m Genera tion The Bits tream Gener ator takes t he output s from both t he FP GA and AVR compi lers , and generat es a single p rog ramming file for use in conf iguring t he AT 94K device. 1. Press Bitstream G enerati o n to open th e bitstream utility . Th[...]

  • Page 28

    Using Syst em Designe r 4-12 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02 Figure 4-17. Control Regi ster Settings Dialog 5. Press OK to generate the comb ined bitstream file. Note: It is p ossible to gene rate a b itstream for onl y the FP GA or AVR as you may onl y want to program that port ion of the FP SLIC device. T o include onl y the [...]

  • Page 29

    Using Syst em Designer FPSLIC STK594 User Guide 4-13 2819A – FPSLI – 07/02 Figure 4-18. In-System Program ming 3. Place the Programming s witc h in t he PR OG pos ition. 4. Using a 1 0-wire ribbon cab le from the STK500, conn ect POR TD to th e LEDS. 5. Using a 2 -wire cable from the STK500, connect SW0 and SW1 to F PS L IC p ins 177 and 178, r[...]

  • Page 30

    Using Syst em Designe r 4-14 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02 Figure 4-19. CPS 2. Select /P: Partition, p rogram, and verify from a n Atmel file under Procedure. 3. Select FPSLIC_COUNTER.BST u nder Input File . 4. Select OUT.BST under Output F ile. 5. Select 1M under EEPR OM De nsit y . 6. Select Low under Reset P o lar it y . 7[...]

  • Page 31

    FPSLIC STK594 User Guide 5-1 Rev. 28 19A – FP SL I – 07/02 Secti on 5 Te chnical Specifi cations System Unit P h y s i c a lD i m e n s i o n s ...... ............. ...... ....... ...... .... 5 . 1 2 5 ” x2 . 7 5 ” W e i g h t ........... ...... ............. ...... ....... ...... ........... 6o z . O pera tin g Con dition s Voltage Suppl y[...]

  • Page 32

    Techni cal Specifica tions 5-2 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02[...]

  • Page 33

    FPSLIC STK594 User Guide 6-1 Rev. 28 19A – FP SL I – 07/02 Secti on 6 Complete Schemati cs See the fol lowi ng pages the co mplete sche m atic s and assembly dr awings of the STK5 94.[...]

  • Page 34

    Complete Sch em a tics 6-2 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02 5 5 4 4 3 3 2 2 1 1 D D C C B B A A CHW5472 ATSTK594 : Clock Circuitry Friday, April 26, 2002 Title A Size Document Number Rev A Date: Sheet 1of 6 XTAL1 XTAL2 XT1 XT2 TOSC1 TOSC2 XTAL1 XTAL2 XT1 XT2 TOSC1 TOSC2 C2 27 pF SW1 SW DPDT 2 1 3 5 4 6 SW2 SW DPDT 2 1 3 5 4 6 R2[...]

  • Page 35

    Complet e Schemati cs FPSLIC STK594 User Guide 6-3 2819A – FPSLI – 07/02 5 5 4 4 3 3 2 2 1 1 D D C C B B A A 52 P in connectors are double rows of Probe pins, 2 6x 2 o n e ach sid e of the chip. Add Labels to connectors every 10 p ins. Labels should match chip pin numbers up to 208 CHW5472 Friday, April 26, 2002 STK594 : AT94K FPSLIC Title C Si[...]

  • Page 36

    Complete Sch em a tics 6-4 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02 5 5 4 4 3 3 2 2 1 1 D D C C B B A A CHW5472 STK594 : Headers Title Size B Document Number Rev A Friday, April 26, 2002 Date: Sheet 3 of 6 GND GND GND GND PCT[7..0] TCK GND PET[7..0] cSDA TXD RXD RTS INTP0 INTP 1 RX0 TX0 cSC L cSER_EN SDA SCL TOSC2 PET1 GND PBT6 PET2 VAD[...]

  • Page 37

    Complet e Schemati cs FPSLIC STK594 User Guide 6-5 2819A – FPSLI – 07/02 5 5 4 4 3 3 2 2 1 1 D D C C B B A A A STK594 : In-System Programming Circuitry Title Size CHW5472 Document Number Rev A Friday, April 26, 2002 Date: Sheet 4 of 6 CON RESET VCC GND cSCL INIT D0 SER_EN CCLK cSER_EN cSDA cSDA RESET cSCL INIT cSER_EN CON VCC VCC VCC VCC SW4 C1[...]

  • Page 38

    Complete Sch em a tics 6-6 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02 5 5 4 4 3 3 2 2 1 1 D D C C B B A A GND VCC VD D VOU T VCC VDD VCC VOUT VCC VDD VOUT TP1 T POINT F 1 J15 CON3 1 2 3 C16 10 uF TP2 T POINT F 1 TP3 T POINT F 1 C17 10 uF U3 LT1117-1.8/SOT 1 2 3 ADJ/GND VOUT VIN A STK594 : Split Power Rail Circuitry Title Size CHW5472 Docu[...]

  • Page 39

    Complet e Schemati cs FPSLIC STK594 User Guide 6-7 2819A – FPSLI – 07/02 5 5 4 4 3 3 2 2 1 1 D D C C B B A A GND CTS RXD TXD RTS CTS RXD TXD RTS VCC VCC C22 0.1 uF U4 MAX3232 13 8 10 11 1 3 4 5 2 6 12 9 14 7 R1IN R2IN T2IN T1IN C1+ C1- C2+ C2- V+ V- R1OUT R2OUT T1OUT T2OUT P1 CONNECTOR DB9 5 9 4 8 3 7 2 6 1 C21 0.1 uF C18 0.1 uF C20 0.1 uF C19 [...]

  • Page 40

    Complete Sch em a tics 6-8 FPSL I C STK594 User Guide 2819A – FPSLI – 07/02[...]

  • Page 41

    Pr int ed on rec ycled pa per. 2819A – FPSLI – 07 /0 2 /x M © Atm el C orp or ation 2002. At mel C orpor ati on mak es n o w arr ant y fo r the u se of i ts pro ducts, ot her t han thos e e xpress ly con tai ned i n th e Co mpan y ’ s st and ard war ran ty w h i c hi sd e t a i l e di nA t m e l ’ s T e rm s a nd Con di tio ns l ocat ed on[...]