Résumé du contenu de la page N° 1
STK594
..............................................................................................
User Guide
Résumé du contenu de la page N° 2
Résumé du contenu de la page N° 3
Table of Contents Section 1 Introduction ........................................................................................... 1-1 1.1 Features....................................................................................................1-2 Section 2 Using the STK594 Top Module.............................................................2-1 2.1 Preparing the STK500 for Use with the STK594.......................................2-1 2.1.1 Adjusting VTARGET for the AT94K Devices.........
Résumé du contenu de la page N° 4
Section 4 Using System Designer ........................................................................ 4-1 4.1 Preparing the Example Files.....................................................................4-1 4.2 Description ................................................................................................4-1 4.3 Design Flow ..............................................................................................4-2 4.4 Creating a Project ..................................
Résumé du contenu de la page N° 5
Section 1 Introduction ™ The STK594 board is a top module designed to add AT94K FPSLIC support to the STK500 development board. With this board the STK500 is extended to support all cur- rent AT94K FPSLIC devices in a single development environment. The STK594 includes connectors, jumpers and hardware allowing full utilization of the new features of the FPSLIC family, see Figure 1-1. This user guide acts as a general getting started guide as well as a complete technical reference for advanced us
Résumé du contenu de la page N° 6
Introduction 1.1 Features STK500 Compatible ® ™ AVR Studio and System Designer Compatible Supports AT94KAL and AT94KAX Devices Supports all Added Features in FPSLIC Devices JTAG Connector for On-chip Debugging Using JTAG ICE Additional RS-232C Port with Available RTS/CTS Handshake Lines On-board 32 kHz Crystal for Easy RTC Implementations 1-2 FPSLIC STK594 User Guide 2819A–FPSLI–07/02
Résumé du contenu de la page N° 7
Section 2 Using the STK594 Top Module 2.1 Preparing the Prior to using the STK594 with the STK500, it is necessary to make a few adjustments to the STK500 Starter Kit to allow for proper operation of Atmel’s AT94K FPSLIC STK500 for Use devices. with the STK594 2.1.1 Adjusting VTARGET According to the AT94K Series datasheet, the V operating voltage is specified where CC for the AT94K {V |3.0 < V = 3.6} Volts, with respect to ground. The STK594 board requires that CC CC Devices theSTK500board supp
Résumé du contenu de la page N° 8
Using the STK594 Top Module Figure 2-1. Connecting the STK594 to the STK500 Board Note: Connecting the STK594 with the wrong orientation may damage the boards. Note: Do not mount the STK594 at the same time an AVR is mounted on the STK500 board. 2.2 PORT Since the AT94K devices have additional ports not available on the STK500, these ports are located on the STK594 board. The STK594 ports have the same pinout and func- Connectors tionality as the ports on the STK500 board. Since Port A to Port D
Résumé du contenu de la page N° 9
Using the STK594 Top Module ® 2.3 Programmingthe The FPSLIC configuration process involves configuring the FPGA, the AVR program code and the FPSLIC data memory. This configuration requires a single bitstream that AT94K Devices configures the FPGA, the embedded AVR Program SRAM and the FPSLIC Data SRAM. The combined bitstream is automatically generated by the Bitstream Generator, a System Designer software utility. After a reset and the internal clearing of the configuration data, the FPSLIC dev
Résumé du contenu de la page N° 10
Using the STK594 Top Module 2.5 TOSC Switch The AT94K device provides dedicated I/O pins for TOSC1 and TOSC2, rather than sharing with the general purpose I/O pins. The TOSC switch selects whether or not the 32 kHz crystal is connected to the pins of the device. Figure 2-5 shows a simplified block schematic on how this is implemented. Figure 2-5. TOSC Block Schematic FPSLIC 32 kHz TOSC2 TOSC1 TOSC Switch 2.6 Universal Unlike traditional AVR microcontrollers, the AT94K device provides the option
Résumé du contenu de la page N° 11
Using the STK594 Top Module 2.7 Two-Wire Serial The AT94K device includes dedicated I/O pins for the TWSI rather than sharing with the general purpose I/O pins. Interface (TWSI) Figure 2-8 shows the pinout of a header for the dedicated TWSI pins. Figure 2-8. TWSI Header 1 2 SDA SCL TWSI 2.7.1 Description of An AT17LV010-10CC 1-Mbit Configuration Memory is included on the STK594 for sup- Configuration plying the AT94K FPSLIC device with its configuration data, as well as for non-volatile Memory
Résumé du contenu de la page N° 12
Using the STK594 Top Module 2.9 Split Power The AT94K FPSLIC devices exist in two different variations, the AL and AX. The AL variation is a 3.3V device manufactured on a 0.35µ process, while the AX variation has Supply Support a 1.8V core manufactured on a 0.18µ process. The primary difference between the two variations, is that the AX device requires a split power supply, as the I/Os are still pow- ered from a 3.3V supply, while the core operates at 1.8V. The STK594 supports both AT94K variati
Résumé du contenu de la page N° 13
Section 3 Installing System Designer System Designer is the ideal software platform for all AT94K FPSLIC development. It includes an Editor, an Assembler and a Debugger as its development tools for the embedded AVR development, and also includes a Simulator, Synthesizer and a Place and Route tool for FPGA development. System Designer also includes a Co-Verification ® suite powered by Mentor Graphics , allowing for step-by-step simulation of the FPGA and AVR design concurrently. 3.1 System For a
Résumé du contenu de la page N° 14
Installing System Designer 3.2 System Designer This installation assumes that you have no previous version of System Designer installed in your machine. If you have a previous version of the software installed or you Installation need step-by-step installation instructions, please refer to the System Designer “Installa- tion, Licensing and Troubleshooting” tutorial available on the Atmel web site. 1. Insert the supplied System Designer CD-ROM into the computer. If the CD does not automatically s
Résumé du contenu de la page N° 15
Installing System Designer 3.4.2 Configuring the 1. Once you have received your System Designer license from Atmel, place the file System Designer in theC:\SystemDesigner directory. License 2. Launch the Mentor Graphics License Configuration Utility from Start > Programs > Atmel > Mentor Graphics Licensing > Configure Licensing. 3. Follow the on-screen instructions. When it prompts you to select Configuration Option, choose 3. 4. Define the Product License Location and press Next. Use the full p
Résumé du contenu de la page N° 16
Installing System Designer 3-4 FPSLIC STK594 User Guide 2819A–FPSLI–07/02
Résumé du contenu de la page N° 17
Section 4 Using System Designer This tutorial will guide you through the required steps for designing and programming AT94K series devices using System Designer. 4.1 Preparing the Before starting the tutorial, a few preparations need to be performed: Example Files 1. Create aSTK594 directory underC:\SystemDesigner\Designs\. 2. DownloadSTK594.ZIP from the FPSLIC software page of the Atmel web site and copySTK594.ZIP toC:\SystemDesigner\Designs\STK594. 3. Extract the contents of theSTK594.ZIP file
Résumé du contenu de la page N° 18
Using System Designer Figure 4-1. Tutorial Design Block Diagram PORTD AVR FPGA IOSEL A0 Microcontroller 8-bit Counter IOSELA0 LOAD FPGA I/O SELECT 0 FIOWEA AVR Write Enable aWE AVR Data Bus 8-bit D[7:0] ENABLE RESET INTA0 Q RCO FPGA Interrupt 0 GCLK5 CLOCK Global Clock 5 4.3 Design Flow The design presented in this tutorial, only performs the required steps for designing and programming an AT94K series device. For
Résumé du contenu de la page N° 19
Using System Designer Figure 4-3. New Project Wizard Window - Step 1 of 6 3. Press Next. The window to create a project file opens, see Figure 4-4. Figure 4-4. New Project Wizard Window - Step 2 of 6 4. Set the Project Directory toC:\SystemDesigner\Designs\STK594, name the project TUTORIAL and press Next. The part selection window appears, see Figure 4-5. FPSLIC STK594 User Guide 4-3 2819A–FPSLI–07/02
Résumé du contenu de la page N° 20
Using System Designer Figure 4-5. New Project Wizard Window - Step 3 of 6 5. Select AT94K40AL-25DQC from the parts list as this is the part found on the STK594 development board, and press Next. The software tool flow window opens, see Figure 4-6. Figure 4-6. New Project Wizard Window - Step 4 of 6 6. Select either Mentor - VHDL or Mentor - Verilog as the Tool Flow and press Next. The add parts window opens, see Figure 4-7. For this tutorial, the instructions will assume Mentor - Verilog has bee