Introduction 1 Features 2 Section 2 3 Using the STK521 Top Module 3 Connecting the Atmel STK521 to the Atmel STK500 Starter Kit 3 Powering the STK521 4 Programming the AVR 5 Atmel AVR JTAGICE mkII Connector 7 Atmel STK521 switches configuration 9...
521 kit is made of the Atmel AVR STK521 board. The STK521 board is a top module for the Atmel STK500 development board from Atmel Corporation. It is designed to support the Atmel AT90PWM81, Atmel AT90PWM161 products and future compatible derivatives.
Features Atmel AVR STK521 is a new member of the successful Atmel STK500 starter kit family Supports the Atmel AT90PWM81, Atmel AT90PWM161 ® Supported by Atmel AVR Studio 4.15 or above and Atmel AVR Studio 5.1 Zero Insertion Force Socket for SOIC20 Package...
Using the STK521 Top Module Connecting the Atmel STK521 to the Atmel STK500 Starter Kit Connect the STK521 to the STK500 expansion header 0 and 1. It is important that the top module is con- nected in the correct orientation as shown in Figure 2-1.
2.1.1 Placing an Atmel AT90PWM81 on the Atmel STK521 The STK521 contains a ZIF socket for a SOIC20 package. Care should be taken so that the device is mounted with the correct orientation. Figure 2-2 shows the location of pin1 for the ZIF socket.
The Atmel AT90PWM81 can be programmed using both serial SPI and high-voltage parallel program- ming. This section will explain how to connect the programming cables to successfully use one of these two modes. The Atmel AVR Studio STK500 software is used in the same way as for other AVR parts. Note: The AT90PWM81 also supports Self Programming, see the Atmel AVR109 application note for more information on this topic.
Page 8
Mounted, pin 1 and 2 BSEL2 Open PJUMP Open Note: See the Atmel STK500 User Guide for information on how to use the STK500 front-end software for ISP Programming. 2.3.2 High-voltage programming Figure 2-4. High-voltage (parallel) programming. STK521 User Guide...
To program the AVR using high-voltage (parallel) programming, connect the PROG_CTRL of the Atmel STK500 to PRG_CTRL of the Atmel STK521 and PROG_DATA of STK500 to PRG_DATA of STK521 as shown in Figure 2-4. Make sure that the CLOCK switch is placed in the STK500 position.
Page 10
Figure 2-5. Connecting the Atmel AVR JTAGICE mkII to the Atmel STK521. PIN1 The ISP connector is used for the Atmel AT90PWM81 built-in debugWire interface. The pin out of the connector is shown in Table 2-4 and is compliant with the pin out of the JTAG ICE available from Atmel.
Atmel STK521 switches configuration The switches shown in Figure 2-6 are described in Table 2-5 Figure 2-6. STK521 switches. Table 2-5. STK521 switches description. Switches Function Description Clock source selection EXT: clock from crystal plugged in Ext Clock socket CLOCK...
Atmel STK521 headers Headers are populated for both high voltage programming purpose as well as for port connection to LEDs or switches. Figure 2-7. STK521 port headers. High Voltage Programmming Interface Port D header Port E header Port D header...
These are placed on both right and left side of the board for probes. Extra functions The STK521 includes a footprint for a ZIF QFN32 5x5 mm socket to evaluate QFN32 package. The socket is not mounted but can be populated using the PN : QFN32(40)BT-0.5-02 from Enplas.
Reason Solution Usage of internal 1MHz RC To start the microcontroller in low power oscillator not recommended mode, use the 128KHz oscillator Unable to do ISP and high- voltage programming using Internal 1MHz RC oscillator STK521 User Guide 3-12 8194B–AVR–01/12...
Programming method (ISP or high-voltage) Hardware revisions of the AVR tools, found on the PCB Version number of the Atmel AVR Studio. This can be found in the AVR Studio help menu PC operating system and version/build PC processor type and speed...
Section 6 Complete Schematics On the following pages the complete schematics and assembly drawing of the Atmel STK521 revision B are shown. STK521 User Guide 6-15 8194B–AVR–01/12...
Page 18
Figure 6-1. Schematics, 1 of 3. STK521 User Guide 6-16 8194B–AVR–01/12...
Page 19
Figure 6-2. Schematics, 2 of 3. STK521 User Guide 6-17 8194B–AVR–01/12...
Page 20
Figure 6-3. Schematics, 3 of 3. STK521 User Guide 6-18 8194B–AVR–01/12...
Page 21
Figure 6-4. Assembly drawing, 1 of 1. STK521 User Guide 6-19 8194B–AVR–01/12...
Page 22
Disclaimer: The information in this document is provided in connection with Atmel products. No license, express or implied, by estoppel or otherwise, to any intellectual property right is granted by this document or in connection with the sale of Atmel products. EXCEPT AS SET FORTH IN THE ATMEL...
Need help?
Do you have a question about the STK521 and is the answer not in the manual?
Questions and answers