AT89STK-10 Starter Kit
..............................................................................................
Hardware User Guide
AT89STK-10 Starter Kit Hardware User User Guide 1
7534A–USB–07/05
Section 1
Introduction...........................................................................................1-2
1.1 Features....................................................................................................1-2
Section 2
Hardware Description .........................................................................2-10
Typical Applications............................................................................2-11
3.1 Nand Flash Application...........................................................................2-12
3.2 Serial Dataflash Application....................................................................2-13
Section 3
Annex..................................................................................................3-14
4.1 Flash Eval uation Boa r d............................. ...... ....... ................... ....... ...... .3-15
4.2 Nand Flash Add-on board.......................................................................3-18
AT89STK-10 Starter Kit Hardware User Guide 1-1
Rev. 7534A–U SB 07/ 05
Section 1
Introduction
This doc ument d escribes the Fl ash E valuatio n Boa rd dedic ated to the A T89C5130 /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 firm-
ware 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-2
Rev. 7534A–U SB 07/ 05
Figure 1-1. Flash Evaluation Board
Figure 1-2. Flash Evaluation Board with the related memories
Hardware Description
AT89STK-10 Starter Kit Hardware User Guide 2-3
7534A–USB–07/05
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
The figures below show how to plug the Flash evaluation board to AT89C5130/31A or
AT8xC5122 D evaluation board (AT89STK05 or AT89STK03) :
AT89C5130A
AT89C5131A
(Default) AT89C5122D
H-SO-T
H-SI-T
H-CLK-T
H-SO-T
H-SI-T
H-CLK-T
AT89STK-10 Starter Kit Hardware User Guide 2-4
Rev. 7534A–U SB 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
AT89C51 30/31A evalua tion board ( AT89STK05), di sconnec t the three LEDs by remo v-
ing the solder on solder straps. The figure below shows the location of these solder
straps :
Figure 2-4. AT89STK-05 - LEDs Disconnection
Hardware Description
AT89STK-10 Starter Kit Hardware User Guide 2-5
7534A–USB–07/05
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 AT8 9C513 1A Evalu ation board and 3.6V for the AT8xC 5122D Evaluat ion b oard.
The fig ure 2.5 shows the differen t possible co nfiguratio ns of the AT8 9C5130/31A E valuation
board (AT89STK05) and the figure 2.6 shows how to select 3.6V on the AT8xC512 2D
Evaluation board in the 3.6V power supply configuration :
Figure 2-6. Power supply (3.3V) - AT89C5131A Evaluation Board (AT89STK05)
LIM
REG
VBUS
5V
3.3V
ICC
PWR.S.
PWR
VCC
LIM
REG
VBUS
5V
3.3V
ICC
PWR.S.
PWR
VCC
LIM
REG
VBUS
5V
3.3V
ICC
PWR.S.
PWR
VCC
LIM
REG
VBUS
5V
3.3V
ICC
PWR.S.
PWR
VCC
LIM
REG
VBUS
5V
3.3V
ICC
PWR.S.
PWR
VCC
LIM
REG
VBUS
5V
3.3V
ICC
PWR.S.
PWR
VCC
VBUS VBUS and
Current Limite r External
Direct Input
3.3V Regulate
Power
Source
Regulation
Hardware Description
2-6 AT89STK-10 Starter Kit Hardware User Guide
7534A–USB–07/05
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 acti-
vated 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
Figure 2-9. Solder Straps location
The tables hereunder show the configuration related to each memory mode :
Solder location
“Open” “Close”
SP12
SP11
SP13 SP14
SP9
SP10
SP1
SP5
SP7
SP3
SP15
SP2
SP6
SP4
SP8
Hardware Description
AT89STK-10 Starter Kit Hardware User Guide 2-7
7534A–USB–07/05
Table 1. Nand Flash Configuration (Default configuration)
Table 2. On Board DataFlash Configuration (Serial mode)
Table 3. On Board DataFlash Configuration (Parallel mode)
The firmware doesn’t support this mode.
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
int erface of DataFlash Open
SP 14 GNDP Connect ground of parallel interface of
DataFlash Open
SP 15 CS_ext Connect CS of external dataflash Open
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 Sele ct DataFlash in paralle l mode Open
SP 13 VccP connect power supply of parallel
int erface of DataFlash Open
SP 14 GNDP connect gnd of parallel interface of
DataFlash Open
SP 15 CS_ext Connect CS of external dataflash Open
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 DataF lash in parallel mode Clos e
SP 13 VccP connect power supply of parallel
int erface of DataFlash Close
SP 14 GNDP connect gnd of parallel interface of
DataFlash Close
SP 15 CS_ext Connect CS of external dataflash Open
Hardware Description
2-8 AT89STK-10 Starter Kit Hardware User Guide
7534A–USB–07/05
Table 4. Pluggable DataFlash Card Configuration
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 i n parallel mode Open
SP 13 VccP connect power supply of parallel
int erface of DataFlash Open
SP 14 GNDP connect gnd of parallel interface of
DataFlash Open
SP 15 CS_ext Connect CS of external dataflash Close
Typical Applic ation s
AT89STK-10 Starter Kit Hardware User Guide 3-9
7534A–USB–07/05
Section 3
Typical Applications
Typical Applications
3-10 AT89STK-10 Starter Kit Hardware User Guide
7534A–USB–07/05
3.1 Nand Flash
Application
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
AVss Vss
Xtal2
Xtal1
24
MHz
22pF
22pF
100
27
27
1.5k
D-
D+
Vref
PLLF
10nF 2.2nF
I/O.0
I/O.1
I/O.2
I/O.3
I/O.4
I/O.5
I/O.6
I/O.7
Nand Fl ash
AT89C5131A-M
Vss
P2.0
P2.1 CLE
ALE
USB connector
3.3V
regulator
D-
D+
Vbus
GND
2.2k
Vcc
Vcc
R/B
10µF
Tantal.
P3.7
P2.3
P2.4
VDD AVDD
1µF
100nF
Vcc
P3.3
Vcc
EA
100k
P3.0
Write
Protection
2.2k
WE
CE
RE
P3.6
PSEN
ISP
2.2k
optional
10µF
Tantal.
10k
Vcc
WP
Ucap
AT89STK-10 Starter Kit Hardware User Guide 3-11
Rev. 7534A–U SB 07/ 05
3.2 Serial Dataflash
Application
P0.0
P0.1
P0.2
P0.3
P0.4
P0.5
P0.6
P0.7
AVss Vss
Xtal2
Xtal1
24
MHz
22pF
22pF
100
27
27
1.5k
D-
D+
Vref
PLLF
10nF 2.2nF
Data Flash
AT45DB321B
AT89C5131A-M
Vss
P2.3
P1.6 CS
SCK/CLK
USB connector
3.3V
regulator
D-
D+
Vbus
GND
Vcc
RDY/BUSY
10µF
Tantal.
P1.7/MOSI
P1.5/MISO
P2.4
VDD AVDD
1µF
100nF
Vcc
P3.3
Vcc
EA
100k
P3.0
Write
Protection
2.2k
SI
PSEN
ISP
2.2k
optional
10µF
Tantal.
10k
Vcc
Reset
Ucap
10k
Vcc
WP
SO
SER/PAR
Vcc
Annex
4-12 AT89STK-10 Starter Kit Hardware User Guide
7534A–USB–07/05
Section 4
Annex
Annex
AT89STK-10 Starter Kit Hardware User Guide 4-13
7534A–USB–07/05
4.1 Flash Evaluation
Board
NF_nWE
NF_nWP0
NF_nWP2
NF_nRE
Vcc
NF_nCE1
NF_CLE
NF_ALE
NF_R/nB1
NF_R/nB0
NF_nCE0
NF_D7
NF_D5
NF_D4
NF_D6
NF_D3
NF_D2
NF_D1
NF_D0
NF_nWP3
NF_nWP1
Vcc
R/nB1
nCE1
CLE
ALE
nCE0
R/nB0
nRE
nWE
P0_0
P0_1
P0_2
P0_3
P0_4
P0_5
P0_6
P0_7
Vss
P2_6
P2_7
C51_ALE
RESET
SI
CLK
SO
SER/nPAR
Vcc
nWP
nWP nWP
nWP
1
3
2
4
HE13 _4 FD
J5
HE13 _4 FD
J5
1
3
5
2
4
6
7
8
9
10
11
12
13
HE13 _13 FD
J4
HE13 _13 FD
J4
1
3
5
2
4
6
7
8
9
10
11
12
13
HE13 _13 FD
J3
HE13 _13 FD
J3
1
3
2
4
HE13 _4 FD
J6
HE13 _4 FD
J6
R4
10 K
R4
10 K
Annex
4-14 AT89STK-10 Starter Kit Hardware User Guide
7534A–USB–07/05
P1_7
P1_6
P1_5
_WE
_RE
Vss
Vss
Vcc_CPU
Vss
Vss
Vss
Vss
Vss
Vss
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
P4_0
P4_1
P4_2
C51_ALE
P2_6
P2_7
MISO_T
CLK_T
MOSI_T
nRE
Vss
Vss
Vcc
Vss
Vss
Vss Vss
Vss
Vss
Vss
MISO_H
MOSI_H
P0_0
P0_1
P0_2
P0_3
P0_4
P0_5
P0_6
P0_7
CLE
ALE
R/nB1
nCE0
R/nB0
nCE1
CLK_H
C51_ALE
nWE
CLE ALE R/nB1 nCE0 R/nB0 nCE1 Vss
P2_6
P2_7
1
TP9TP9
1
TP8TP8
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
J2
HEADER 24X2
flashbord Right
J2
HEADER 24X2
flashbord Right
1
TP7TP7
1
TP6TP6
1
TP5TP5
1
TP4TP4
1
TP10TP10
2
4
6
8
10
12
14
16
18
20
22
24
26
28
30
32
34
36
38
40
42
44
46
48
1
3
5
7
9
11
13
15
17
19
21
23
25
27
29
31
33
35
37
39
41
43
45
47
J1
HEADER 24X2
flashboard Left
J1
HEADER 24X2
flashboard Left
Flash Board Right
Flash Board Left
Annex
AT89STK-10 Starter Kit Hardware User Guide 4-15
7534A–USB–07/05
Annex
4-16 AT89STK-10 Starter Kit Hardware User Guide
7534A–USB–07/05
4.2 Nand Flash Add-
on board Figure 4-1. Schematic
Annex
AT89STK-10 Starter Kit Hardware User Guide 4-17
7534A–USB–07/05
Figure 4-2. Component Side
Figure 4-3. Sold er Side
Printed on recycled paper.
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 CONDI-
TIONS 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 INCIDEN-
TAL DAMAGES ( INCLUDING, WITHOUT LIMITATION , DAMAGES FOR L OSS OF PROFITS, BUSINESS INT ERRUPTION, OR LOSS OF INF ORMATION) 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 providedot-
herwise, Atmel pr oducts are no t suitable fo r, a nd shall n ot be used in, automo tive app lications. Atmel’sAtmel’s pro ducts are not inte nded, author ized, or warranted for use as
components in applications intended to support or sustain life.
Atmel Corporati on Atmel Operation s
2325 Orchard Parkway
San Jose , CA 9513 1
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
Chin ache m G old en Pla za
77 Mody Road Tsimshatsui
East Kowloon
Hong Kong
Tel: (852) 2721-9778
Fax: (852) 2722-1369
Japan
9F, Tonetsu Shinkawa Bldg.
1-24 -8 Shin kawa
Chuo-ku, Tokyo 104-0033
Japan
Tel: (81) 3-3523-3551
Fax: (81) 3-3523-7581
Memory
2325 Orchard Parkway
San Jose, CA 95131
Tel: 1(408) 441-0311
Fax: 1(408) 436-4314
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-1 8-18 -18
Fax: ( 33) 2- 40-1 8-19-6 0
ASIC/ASSP/Smart Cards
Zone Industrielle
13106 Rousset Cedex, France
Tel : (33) 4 -42-5 3-60 -00
Fax: ( 33) 4- 42-5 3-60-0 1
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
RF/Automotive
Theresienstrasse 2
Postfach 3535
74025 Heilbr onn, Ge rmany
Tel: (49) 71-31-67-0
Fax: (49) 71-31-67-2340
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 Dat acom
Avenue de Rochepleine
BP 123
38521 Saint-Egreve Cedex, France
Tel: (33) 4-76-58-30-00
Fax: ( 33) 4- 76-5 8-34-8 0
e-mail
literature@atmel.com
Web Site
http://www.atmel.com
7534A–USB–07/05 /xM
© Atmel Co rporation 2005. All rights reserved. Atmel®, logo and combinations thereof, are registered trademarks, and Everywhere You Are®
are the trademarks of Atme l Corporation or its subsidiaries . Other terms and product names may be trademarks of others.