AT89STK-10 Starter Kit .............................................................................................. Hardware User Guide Section 1 Introduction ........................................................................................... 1-2 1.1 Features ....................................................................................................1-2 Section 2 Hardware Description ......................................................................... 2-10 Typical Applications ............................................................................ 2-11 3.1 3.2 Nand Flash Application ...........................................................................2-12 Serial Dataflash Application ....................................................................2-13 Section 3 Annex.................................................................................................. 3-14 4.1 4.2 Flash Evaluation Board ...........................................................................3-15 Nand Flash Add-on board .......................................................................3-18 AT89STK-10 Starter Kit Hardware User User Guide 1 7534A–USB–07/05 Section 1 Introduction This document describes the Flash Evaluation Board dedicated to the AT89C5130/31A and the AT8xC5122D USB microcontrollers. This board is designed to enable an easy evaluation of the Mass Storage USB class using demonstration firmware (refer to firmware Guide). It must be plugged to a CPU board (AT89C5130/31A or AT8xC5122 D evaluation board). 1.1 Features The Flash evaluation board provides the following features: Support the following microcontrollers : – AT89C5130A – AT89C5131A – AT8xC5122D No external power supply required – Power supplied by the USB line via the CPU board (AT89C5130/31A or AT8xC5122 D evaluation board) On board DataFlash memory (ATMEL AT45DB321B, 4MB) Support Nand Flash memory (MICRON MT29F2GO8AABWP, 256MB) - Add-on board Support Pluggable DataFlash Card (ATMEL AT45DCB004C, 4 MB) AT89STK-10 Starter Kit Hardware User Guide 1-1 Rev. 7534A–USB–07/05 Figure 1-1. Flash Evaluation Board Figure 1-2. Flash Evaluation Board with the related memories AT89STK-10 Starter Kit Hardware User Guide 1-2 Rev. 7534A–USB–07/05 Hardware Description Section 2 Hardware Description 2.1 CPU board selection As mentioned above, the Flash evaluation board can be used either with the AT89C5130/31A or AT8xC5122 D. The figure below show the jumpers state to enable each mode : Figure 2-1. AT8xC5130/31AD Jumpers state Figure 2-2. Jumpers state AT89C5130A AT89C5131A (Default) AT89C5122D H-SO-T H-SO-T H-SI-T H-SI-T H-CLK-T H-CLK-T The figures below show how to plug the Flash evaluation board to AT89C5130/31A or AT8xC5122 D evaluation board (AT89STK05 or AT89STK03) : AT89STK-10 Starter Kit Hardware User Guide 2-3 7534A–USB–07/05 Figure 2-3. Flash evaluation board plugged to AT89C5130/31A evaluation board (AT89STK05) Warning : Before plugging the Flash Evoluation Board (AT89STK10) to the AT89C5130/31A evaluation board (AT89STK05), disconnect the three LEDs by removing the solder on solder straps. The figure below shows the location of these solder straps : Figure 2-4. AT89STK-05 - LEDs Disconnection AT89STK-10 Starter Kit Hardware User Guide 2-4 Rev. 7534A–USB–07/05 Hardware Description Figure 2-5. Flash evaluation board plugged to AT8xC5122D evaluation board (AT89STK03) 2.2 Power supply The Flash Evaluation Board power is supplied by the CPU board. The power supply must be set to 3.3V for the AT89C5131A Evaluation board and 3.6V for the AT8xC5122D Evaluation board. The figure 2.5 shows the different possible configurations of the AT89C5130/31A Evaluation board (AT89STK05) and the figure 2.6 shows how to select 3.6V on the AT8xC5122D Evaluation board in the 3.6V power supply configuration : Figure 2-6. Power supply (3.3V) - AT89C5131A Evaluation Board (AT89STK05) PWR.S. PWR.S. LIM LIM 5V 5V VCC ICC 3.3V REG 3.3V PWR.S. PWR PWR.S. LIM PWR.S. LIM 3.3V Regulate LIM REG ICC 3.3V PWR REG 5V VCC ICC 5V VCC 3.3V PWR VBUS PWR 5V VCC VBUS ICC VCC REG ICC REG VBUS PWR.S. LIM Direct Input AT89STK-10 Starter Kit Hardware User Guide External VBUS VBUS and Current Limiter VBUS VBUS VBUS 3.3V PWR REG 5V VCC ICC Power Source Regulation 3.3V PWR 2-5 7534A–USB–07/05 Hardware Description Figure 2-7. Power supply (3.6V)- AT8xC5122 D Evaluation Board (AT89STK03) 2.3 Memory selection The Flash evaluation board supports three Flash memories (Pluggable Nand Flash, Pluggable DataFlash Card and On board DataFlash). Just one memory can be activated at the same time. To configure the board with your specific usage, you have to put the solder straps in the right state. Figure 2-8. Solder straps “Open” “Close” Solder location Figure 2-9. Solder Straps location SP8 SP6 SP4 SP2 SP9 SP10 SP7 SP13 SP14 SP11 SP12 SP5 SP3 SP1 SP15 The tables hereunder show the configuration related to each memory mode : 2-6 7534A–USB–07/05 AT89STK-10 Starter Kit Hardware User Guide Hardware Description Table 1. Nand Flash Configuration (Default configuration) Reference Name Function State SP1..8 D0..7 Connect Data P0 on onboard dataflash Open SP9 CS Connect CS of internal dataflash Open SP10 R/nB Connect R/nB on dataflash Open SP 11 SER Select DataFlash in serial mode Open SP12 PAR Select DataFlash in parallel mode Open SP 13 VccP Connect power supply of parallel interface of DataFlash Open SP 14 GNDP Connect ground of parallel interface of DataFlash Open SP 15 CS_ext Connect CS of external dataflash Open Table 2. On Board DataFlash Configuration (Serial mode) Reference Name Function State SP1..8 D0..7 Connect bus P0 on onboard dataflash Open SP9 CS Connect CS of internal dataflash Close SP10 R/nB Connect R/nB on dataflash Close/Open SP 11 SER Select DataFlash in serial mode Close SP12 PAR Select DataFlash in parallel mode Open SP 13 VccP connect power supply of parallel interface of DataFlash Open SP 14 GNDP connect gnd of parallel interface of DataFlash Open SP 15 CS_ext Connect CS of external dataflash Open Table 3. On Board DataFlash Configuration (Parallel mode) Reference Name Function State SP1..8 D0..7 connect bus P0 on onboard dataflash Close SP9 CS Connect CS of internal dataflash Close SP10 R/nB Connect R/nB on dataflash Close SP 11 SER put DataFlash in serial mode Open SP12 PAR put DataFlash in parallel mode Close SP 13 VccP connect power supply of parallel interface of DataFlash Close SP 14 GNDP connect gnd of parallel interface of DataFlash Close SP 15 CS_ext Connect CS of external dataflash Open The firmware doesn’t support this mode. AT89STK-10 Starter Kit Hardware User Guide 2-7 7534A–USB–07/05 Hardware Description Table 4. Pluggable DataFlash Card Configuration 2-8 7534A–USB–07/05 Reference Name Function State SP1..8 D0..7 connect bus P0 on onboard dataflash Open SP9 CS Connect CS of internal dataflash Open SP10 R/nB Connect R/nB on dataflash Open SP 11 SER put DataFlash in serial mode Open SP12 PAR put DataFlash in parallel mode Open SP 13 VccP connect power supply of parallel interface of DataFlash Open SP 14 GNDP connect gnd of parallel interface of DataFlash Open SP 15 CS_ext Connect CS of external dataflash Close AT89STK-10 Starter Kit Hardware User Guide Typical Applications Section 3 Typical Applications AT89STK-10 Starter Kit Hardware User Guide 3-9 7534A–USB–07/05 Typical Applications 3.1 Nand Flash Application 3.3V regulator Vcc 100nF 10µF Tantal. VDD AVDD P0.0 I/O.0 Vref P0.1 I/O.1 D+ P0.2 I/O.2 P0.3 I/O.3 P0.4 I/O.4 P0.5 I/O.5 P0.6 I/O.6 P0.7 I/O.7 1.5k Vbus D+ 27 D- 27 10µF Tantal. D- GND Vcc USBconnector PLLF 10nF 2.2nF 100 optional Vcc PSEN Vcc Vcc 2.2k 10k Nand Flash 2.2k EA ISP P3.3 22pF 24 MHz P2.4 R/B P2.0 CLE P2.1 ALE Xtal1 P3.7 RE Xtal2 P2.3 CE P3.6 WE 22pF 1µF WP AT89C5131A-M 100k Ucap AVss P3.0 Vss Vss Write Protection 2.2k 3-10 7534A–USB–07/05 AT89STK-10 Starter Kit Hardware User Guide 3.2 Serial Dataflash Application 3.3V regulator Vcc 100nF 10µF Tantal. VDD 1.5k Vbus D+ 27 D- 27 10µF Tantal. AVDD P0.0 Vref P0.1 D+ P0.2 D- P0.3 GND P0.4 USBconnector P0.5 PLLF 10nF 2.2nF P0.6 P0.7 100 Vcc optional Vcc PSEN 10k 10k Vcc 2.2k EA ISP P3.3 22pF 24 MHz RDY/BUSY P2.3 CS P1.6 SCK/CLK Xtal1 P1.7/MOSI Xtal2 P1.5/MISO Ucap AVss Vcc P2.4 SI SO Data Flash AT45DB321B Vcc 22pF 1µF WP Reset AT89C5131A-M 100k SER/PAR P3.0 Vss Vss Write Protection 2.2k AT89STK-10 Starter Kit Hardware User Guide 3-11 Rev. 7534A–USB–07/05 Annex Section 4 Annex 4-12 7534A–USB–07/05 AT89STK-10 Starter Kit Hardware User Guide Annex 4.1 Flash Evaluation Board J5 SER/nPAR SO CLK SI 4 3 2 1 HE13 _4 FD J3 J4 1 2 3 4 5 6 7 8 9 10 11 12 13 NF_nWP2 nWP nWP NF_nWP3 NF_nWP0 Vcc NF_CLE NF_ALE NF_R/nB1 NF_nCE0 NF_R/nB0 NF_nCE1 NF_nRE NF_nWE nWP Vcc CLE ALE R/nB1 nCE0 R/nB0 nCE1 nRE nWE nWP P0_7 P0_6 P0_5 P0_4 P0_3 P0_2 P0_1 P0_0 Vss NF_nWP1 NF_D7 NF_D6 NF_D5 NF_D4 NF_D3 NF_D2 NF_D1 NF_D0 HE13 _13 FD 1 2 3 4 5 6 7 8 9 10 11 12 13 HE13 _13 FD J6 1 2 3 4 P2_6 P2_7 C51_ALE RESET HE13 _4 FD R4 10 K Vcc AT89STK-10 Starter Kit Hardware User Guide 4-13 7534A–USB–07/05 Annex J1 HEADER 24X2 flashboard Left Flash Board Left 4-14 7534A–USB–07/05 C51_ALE nWE nRE TP6 TP7 TP8 TP9 TP10 1 TP5 1 TP4 1 C51_ALE _WE _RE MISO_T CLK_T MOSI_T 1 Vss Vss P1_5 P1_6 P1_7 P0_0 P0_1 P0_2 P0_3 P0_4 P0_5 P0_6 P0_7 CLE ALE R/nB1 nCE0 R/nB0 nCE1 P2_6 P2_7 MISO_H MOSI_H CLK_H 1 Vss 48 46 44 42 40 38 36 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2 1 Vss Vcc_CPU 47 Vss 45 43 41 39 37 35 33 31 29 Vss 27 25 Vss 23 21 19 17 15 13 11 9 7 5 Vss 3 Vss 1 1 Vcc Vss J2 CLE ALE R/nB1 nCE0 R/nB0 nCE1 Vss P0_0 P0_1 P0_2 P0_3 P0_4 P0_5 P0_6 P0_7 P2_0 P2_1 P2_2 P2_3 P2_4 P2_5 P2_6 P2_7 P4_0 P4_1 P4_2 47 45 43 41 39 37 35 33 31 29 27 25 23 21 19 17 15 13 11 9 7 5 3 1 48 46 44 42 40 38 36 34 32 30 28 26 24 22 20 18 16 14 12 10 8 6 4 2 Vss Vss Vss Vss Vss Vss Vss Vss HEADER 24X2 flashbord Right Flash Board Right AT89STK-10 Starter Kit Hardware User Guide Annex AT89STK-10 Starter Kit Hardware User Guide 4-15 7534A–USB–07/05 Annex 4.2 Nand Flash Addon board 4-16 7534A–USB–07/05 Figure 4-1. Schematic AT89STK-10 Starter Kit Hardware User Guide Annex Figure 4-2. Component Side Figure 4-3. Solder Side AT89STK-10 Starter Kit Hardware User Guide 4-17 7534A–USB–07/05 Atmel Corporation 2325 Orchard Parkway San Jose, CA 95131 Tel: 1(408) 441-0311 Fax: 1(408) 487-2600 Regional Headquarters Europe Atmel Sarl Route des Arsenaux 41 Case Postale 80 CH-1705 Fribourg Switzerland Tel: (41) 26-426-5555 Fax: (41) 26-426-5500 Asia Room 1219 Chinachem Golden Plaza 77 Mody Road Tsimshatsui East Kowloon Hong Kong Tel: (852) 2721-9778 Fax: (852) 2722-1369 Japan 9F, Tonetsu Shinkawa Bldg. 1-24-8 Shinkawa Chuo-ku, Tokyo 104-0033 Japan Tel: (81) 3-3523-3551 Fax: (81) 3-3523-7581 Atmel Operations Memory 2325 Orchard Parkway San Jose, CA 95131 Tel: 1(408) 441-0311 Fax: 1(408) 436-4314 RF/Automotive Theresienstrasse 2 Postfach 3535 74025 Heilbronn, Germany Tel: (49) 71-31-67-0 Fax: (49) 71-31-67-2340 Microcontrollers 2325 Orchard Parkway San Jose, CA 95131 Tel: 1(408) 441-0311 Fax: 1(408) 436-4314 La Chantrerie BP 70602 44306 Nantes Cedex 3, France Tel: (33) 2-40-18-18-18 Fax: (33) 2-40-18-19-60 ASIC/ASSP/Smart Cards 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 Tel: 1(719) 576-3300 Fax: 1(719) 540-1759 Biometrics/Imaging/Hi-Rel MPU/ High Speed Converters/RF Datacom Avenue de Rochepleine BP 123 38521 Saint-Egreve Cedex, France Tel: (33) 4-76-58-30-00 Fax: (33) 4-76-58-34-80 Zone Industrielle 13106 Rousset Cedex, France Tel: (33) 4-42-53-60-00 Fax: (33) 4-42-53-60-01 1150 East Cheyenne Mtn. Blvd. Colorado Springs, CO 80906 Tel: 1(719) 576-3300 Fax: 1(719) 540-1759 Scottish Enterprise Technology Park Maxwell Building East Kilbride G75 0QR, Scotland Tel: (44) 1355-803-000 Fax: (44) 1355-242-743 e-mail [email protected] Web Site http://www.atmel.com 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 ATMEL’S TERMS AND CONDITIONS OF SALE LOCATED ON ATMEL’S WEB SITE, ATMEL ASSUMES NO LIABILITY WHATSOEVER AND DISCLAIMS ANY EXPRESS, IMPLIED OR STATUTORY WARRANTY RELATING TO ITS PRODUCTS INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTY OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT. IN NO EVENT SHALL ATMEL BE LIABLE FOR ANY DIRECT, INDIRECT, CONSEQUENTIAL, PUNITIVE, SPECIAL OR INCIDENTAL DAMAGES (INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF PROFITS, BUSINESS INTERRUPTION, OR LOSS OF INFORMATION) ARISING OUT OF THE USE OR INABILITY TO USE THIS DOCUMENT, EVEN IF ATMEL HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. Atmel makes no representations or warranties with respect to the accuracy or completeness of the contents of this document and reserves the right to make changes to specifications and product descriptions at any time without notice. Atmel does not make any commitment to update the information contained herein. Unless specifically providedotherwise, Atmel products are not suitable for, and shall not be used in, automotive applications. Atmel’sAtmel’s products are not intended, authorized, or warranted for use as components in applications intended to support or sustain life. © Atmel Corporation 2005. All rights reserved. Atmel ®, logo and combinations thereof, are registered trademarks, and Everywhere You Are® are the trademarks of Atmel Corporation or its subsidiaries. Other terms and product names may be trademarks of others. Printed on recycled paper. 7534A–USB–07/05 /xM