Atmel AT91SAM9G20-EK User guide

AT91SAM9G20-EK Evaluation Board
....................................................................................................................
User Guide
6413C–ATARM–18-Feb-09
1-2 AT91SAM9G20-EK Evaluation Board User Guide
6413C–ATARM–18-Feb-09
Section 1
Overview .................................................................................................................... 1-1
1.1 Scope................................................................................................................................. 1-1
1.2 Deliverables ....................................................................................................................... 1-1
1.3 AT91SAM9G20-EK Evaluation Board ............................................................................... 1-1
Section 2
Setting Up the AT91SAM9G20-EK Board.................................................................. 2-1
2.1 Electrostatic Warning ......................................................................................................... 2-1
2.2 Requirements..................................................................................................................... 2-1
2.3 Layout ................................................................................................................................ 2-2
2.4 Powering Up the Board...................................................................................................... 2-4
2.5 Backup Power Supply........................................................................................................ 2-4
2.6 Getting Started................................................................................................................... 2-4
2.7 AT91SAM9G20-EK Block Diagram ................................................................................... 2-5
Section 3
Board Description....................................................................................................... 3-1
3.1 AT91SAM9G20 Microcontroller ......................................................................................... 3-1
3.2 AT91SAM9G20 Block Diagram ......................................................................................... 3-4
3.3 Microcontroller ................................................................................................................... 3-5
3.4 Memory .............................................................................................................................. 3-5
3.5 Clock Circuitry.................................................................................................................... 3-5
3.6 Reset Circuitry ................................................................................................................... 3-5
3.7 Shutdown Controller ..........................................................................................................3-5
3.8 Power Supply Circuitry.......................................................................................................3-5
3.9 Remote Communication .................................................................................................... 3-5
3.10 Audio Stereo Interface ....................................................................................................... 3-6
3.11 User Interface .................................................................................................................... 3-6
3.12 Debug Interface ................................................................................................................. 3-6
3.13 Expansion Slot ................................................................................................................... 3-6
3.14 PIO Usage ......................................................................................................................... 3-7
Section 4
Configuration ..............................................................................................................4-1
4.1 Jumpers ............................................................................................................................. 4-1
4.2 JTAG/ICE........................................................................................................................... 4-2
AT91SAM9G20-EK Evaluation Board User Guide i
6413C–ATARM–18-Feb-09
Table of Contents (Continued)
4.3 Microcontroller Clock ......................................................................................................... 4-2
4.4 Memory .............................................................................................................................. 4-2
4.5 Ethernet ............................................................................................................................. 4-3
4.6 Miscellaneous .................................................................................................................... 4-3
Section 5
Schematics................................................................................................................. 5-1
5.1 Schematics ........................................................................................................................ 5-1
Section 6
Errata..........................................................................................................................6-1
6.1 Wrong Silkscreen of BB and 1.0V on the Board ................................................................ 6-1
6.2 Choice of an Oscillator Capacitance.................................................................................. 6-1
6.3 SD Card Slots and Booting Capability ............................................................................... 6-1
Section 7
Revision History .........................................................................................................7-1
7.1 Revision History ................................................................................................................. 7-1
ii AT91SAM9G20-EK Evaluation Board User Guide
6413C–ATARM–18-Feb-09

1.1 Scope

The AT91SAM9G20-EK Evaluation Kit enables the evaluation of and code development for applications running on an AT91SAM9G20 device. This guide focuses on the AT91SAM9G20-EK board as an evalu­ation platform. The board supports the AT91SAM9G20 in a 217-ball LFBGA RoHS-compliant Package.

1.2 Deliverables

The AT91SAM9G20-EK package contains the following items:
an AT91SAM9G20-EK board
a universal input AC/DC power supply with US and Europe plug adapter
one A/B-type USB cable
one serial RS232 cable
one RJ45 crossed Ethernet cable
one CD-ROM that allows the user to begin evaluating the AT91 ARM
quickly
one 3V Lithium battery

Section 1

Overview

®
Thumb® 32-bit microcontroller

1.3 AT91SAM9G20-EK Evaluation Board

The board is equipped with an AT91SAM9G20 microcontroller together with the following:
64 Mbytes of SDRAM memory
256 Mbytes of NAND Flash memory
one Atmel
one Atmel TWI serial EEPROM
one USB Device port interface
two USB Host port interfaces
one DBGU serial communication port
one complete MODEM serial communication port
one additional serial communication port with RTS/CTS handshake control
JTAG/ICE debug interface
one PHY Ethernet 100-base TX with three status LEDs
one on-board Audio DAC
one Power LED and one general-purpose LED
AT91SAM9G20-EK Evaluation Board User Guide 1-1
®
serial DataFlash
®
6413C–ATARM–18-Feb-09
Overview
two user-input push buttons
one Wakeup-input push button
one reset push button
two DataFlash SD/MMC card slots
four expansion connectors (PIOA, PIOB, PIOC, IMAGE SENSOR)
one BGA-like EBI expansion footprint connector
one Lithium Coin Cell Battery Retainer for 12 mm cell size
1-2 AT91SAM9G20-EK Evaluation Board User Guide
6413C–ATARM–18-Feb-09

2.1 Electrostatic Warning

The AT91SAM9G20-EK evaluation board is shipped in protective anti-static packaging. The board must not be subjected to high electrostatic potentials. A grounding strap or similar protective device should be worn when handling the board. Avoid touching the component pins or any other metallic element.

2.2 Requirements

In order to set up the AT91SAM9G20-EK evaluation board, the following items are needed:
the AT91SAM9G20-EK evaluation board itself,
AC/DC power adapter (5V at 2A), 2.1 mm by 5.5 mm.

Section 2

Setting Up the AT91SAM9G20-EK Board

AT91SAM9G20-EK Evaluation Board User Guide 2-1
6413C–ATARM–18-Feb-09
Setting Up the AT91SAM9G20-EK Board

2.3 Layout

Figure 2-1. Top View
J18
J20
J17
J31
J25
TP4
1
TP7
J24
5
C115
TP3
1
5
DS4
J14
R15
J4
1
C104
5
R64
TP1
BP1
RR1
J5
C116
C127
MN14
DS3
L3
C17
C16
MN12
CR1
MN13
C121
DS2
J15
C90
C102
C95
C146
C105
R47
R3
DS1
C2
C117 C118
C114
R155
C122
C94
C107
C106
C103
R88 R85 R83 R86
R62
R151
R156
MN10
Q1
Q2
R46
R107
R106
R98
R101
R103
R104
R105
R96
R95
R94
R57
C93
C99
R5R9
C14R10
C81
RR6
C101
R150
MN2
MN1
MN8
R22
S8
C87
J23
J26
R164
C75
R50
C78
J8
L2
R45
R56
Y3
R168
MN15
J3
R49
R163
C76
C77
R21
Q3
C69
C68
MN7
R31
C72
RR21
RR17
RR10
RR11RR20
J12
TP5
TP6
C42
R26
J10
C47
MN5
S2
S5
R28
L4 R44
C80
L5
R120 R119 R124
R32
J6
R43
C74
C79
Y1
R18
C23
R20
C24
RR4
RR19
C73
C70
C71
MN4
C25
Y2
C26
J9
J7
J28
R166
D1
K
R169
R165
R167
C12
C11
R7
MN3
R11
C15
C110
R70
C111
R71
C112
R77
C113
R78
BP2
R87
J16
J1
C1
C3
J2
C4
C84
MN6A1
MN6B1
R38
J34
BP4
R108
R158
R154
R157
C82
R25
C123
R171
C83
R153
DS5
R159
R160
MN9
C85
J11
C124
C119
J19
R170
C148
R39
TP2
R37
R81
BP3
J33
R42
R84
2-2 AT91SAM9G20-EK Evaluation Board User Guide
6413C–ATARM–18-Feb-09
Figure 2-2. Bottom View
S1
S3
R13
R14R16
R63
C126
R136
R137
Setting Up the AT91SAM9G20-EK Board
C108
C120
C109
R74
R66
R67
R19 R17
C43
RR3RR2
R29
R76
R89
R90
R82
J13
R24
R118
RR9
C37
R27
RR18
C38
RR16
R173
R175
R176
R172
R174
R34
R35
S6
R41
R33
F1
F2
C50
RR14
RR15 RR13RR12
C5 C6
C130 C133
C131
R125
R126
RR7
C44
RR8
C35
C51
C48
R30
C21
C27
C28
C22
S4
C49
R23
R109
C32
C34
C40
C45
C33
C46
C41
C39
RR5
C36
R4
R1
R72 R73
R69
R68
R75
L1
C18
C136
R12
C137
C139
C86
C140
C141
R128
C138
C147
R161
R162
C132
R8
R6
R2
C145
C144
C143
C142
R48
Y4
C88
C125
C89
S7
R132
C96
MN11
C98
R134
C30
R133
R135
R127
R123
R55
R131
C97
R130
R122
R129
R60
R121
C31
R58
C92
R91
R92
R93
R65
C91
R53
R52 R54
R51
R61
R59
R79
R80
J35
CR2
C135
C134
AT91SAM9G20-EK Evaluation Board User Guide 2-3
6413C–ATARM–18-Feb-09
Setting Up the AT91SAM9G20-EK Board

2.4 Powering Up the Board

The AT91SAM9G20-EK requires 5V DC (±5%). DC power is supplied to the board via the 2.1 mm by 5.5 mm socket J1. Coaxial plug center positive standard.

2.5 Backup Power Supply

The user can plug in a battery (3V Lithium Battery CR1225 or equivalent) in order to permanently power the backup part of the device. In this case, J10 configuration must be set in position 1, 2. Refer to Sec-
tion 4.1 ”Jumpers”.

2.6 Getting Started

The AT91SAM9G20-EK evaluation board is delivered with a CD-ROM containing all necessary informa­tion and step-by-step procedures for working with the most common development tools.
2-4 AT91SAM9G20-EK Evaluation Board User Guide
6413C–ATARM–18-Feb-09

2.7 AT91SAM9G20-EK Block Diagram

PIO
ET X
C K /
R E F CLK
ET X
0
ET X
1
ETXEN
ERX1
ERX0
ERXDV
ERXER
EMDC
EMDIO
ET X
2
ET X
3
ERX2
ERX3
ET X
ER
ERXCK
E C RS
ECO
L
MCDB2
SPI0_NPCS0 MCDB3
S
P I
0 _MOSI MCCDB
M C CK
SPI0_MISO MCDB0
MCDB1
SDRAM
NANFL
ASH
DAC
WM8
7 31
5VDC
DBGU
H O ST
A
HOST B
USB
D EVI
C E
C O M1
C O M 0
RS232
CA R
D
R EA
DER
DBGU_RXD
D B GU_TX
D
10/100 Mbps FAST ETHERNET
EEPROM
SERIAL
PIO
P I
O
P I
O
PIO
TWD
TWCK
SPI0_N
P C
S
1
SP I
0_SPCK
DATAFLASH
SERIAL
DATAFLASH
MCIB
SH E
E T 2
SHEET 5
SHEET 6
SH EE T 7
PA23
/ TWD
PA24
/ T
WC
K
TF0
TK0
TD0
PCK0
SPI1
_N P
C
S
0
DATAFLASH
MCIA
C A RD
READER
(B O
OT )
MCDA0
MCDA1
M CDA2MCDA3MCCKMCCD
A
RAS
C A
S
S
D A 1 0
S
D W E
S
D CS_
NC
S
1
S
D CK
S
D CKE
NBS1
NBS
3
PB [
0..
3
1]
PB 9
PA 1
7
PA 1
9
P B 0
PA 1
1
PA 1
0
PA25
PA26
PA 2
2
PA 2
7
PA 2
8
PA 2
9
PA 1
3
PA 1
2
PA16
P A 15
P A 14
PA20
PA21
PA 1
8
PA [
0. .3 1 ]
NRST
N AN
D OE
N AN
D WE
A22
A 21
D[ 0
..31]
A 1 6
A 1 7
A [
0 .. 1 4 ]
A [
0 . .2 2 ]
NCS0
NRST
CF W
E_ NWE_
NW
R0
CFOE_N
R D
RAS
CAS
S
D A10
SDWE
S
D C
S
_ NCS1
S
D CK
S
D CKE
NBS1
NBS3
NANDOE
NANDWE
PB [
0. .3 1]
DDP
HDPA
HDM
A
HDPB
HDMBDD
M
PB15
PB [
0 ..31]
PB 1
4
PA0P
A5
PA[0..
3
1]
PA4P
A3
PA8
P A1
P C 1 4
P C 1
3
PC[0..15]
PB 26
PB 2
3
PB 2
5
PB28
PB6
PB7
P B 29
PB4
PB5
PB 27
PB 2
4
PB 2
2
D [0 ..1
5 ]
PC[0
. .15]
PC5
NRST
PC11
PA2
P A2
3
P A2
4
PC9
PB17
PB18
P B 16
P C [0.
. 15
]
PC1
PB [
0. .3 1 ]
PA 2
3
PA 2
4
PB
3
PA6
PA9
PA 1
0
PA 1
1
PA7P C 2
PB [
0. .3 1 ]
PA
8
SE
R IA L INTERF
A CES
0 5
­ COMMUNICAT
IO N
HDMA
HDMB
DD M
D DP
HDPA
HDPB
PB29
PB26
PB4
PB28
PB6
PB5
PB7
PB2
5
PC5
PB14
PB2
3
PB15
PB22PB27
PB24
R MII_MII
ET
HERNET
03
­ RMII_
M II ETHERNET
NRST
PA28PA1
8
PA1
2
PA2
2
PA1
3
PA14
PA1
0
PA15
PA1
1
PA17PA25
PA26
PA20
PA19
PB0
PA27
PA2
9
PA21
PA16
M EM
OR
Y
03 - MEMORY
CAS
SDWESDC
S_
NC
S1
SDCKECFIOR_NBS1_NWR1
SDC
K
SDA10D
[
0..
3
1 ]
RAS
C F I
O W _ NBS3
_ N W
R3
N RST
NANDOE
NAN
D WE
PC13
PC14
A21
A22
PA0
PA5
PA4
PA8
PA3
PA2
PA1
PC 11
A16A1
7
A[0
.. 1 4 ]
D[ 0
..1 5
]
PA24
PA2
3
PC9
PA6
PA9
PA1
0
PA11PA8
PA7
PC2
EXPANSION
_ Users I
n terfac
e
s
06
- EX
P A N
S
I O
N C O N NECTORS
PA[
0..31]
A[
0.. 2
2 ]
D[0..31]
PB[0.
.
31]
C AS
SDWE
N ANDOE
SDCS_NCS1
NRST
SDCKESDC
K
CFIOR_NBS1_NWR1
N ANDWE
SDA10
R AS
CFIOW_NBS3_NWR3
NCS0
CFW
E_ NWE_N
W R
0
C F O E_NRD
PC[0..15]
AVD
D
AGN
D
VR EF P
PO WER SUPPL
Y
01 -
PO WER SUPPL
Y
SHD
N
PB9
PB16
PB17
PA23
PC 1
PB18
PA24
PB3
A T 9 1 SA
M 9 G 20-CU
02
- AT91SAM
9 G20-CU
PA[0..3
1 ]
A[ 0
.. 2 2 ]
PB[0
.
.3 1 ]
PC[0..15]
D[0..31]
CAS
SD W
E
HDMA
HDMB
SD C
S_ N
C S1
NRST
NCS0
C F WE_N
W E_ N
W R0
SD CKE
DD M
CFIOR_NBS1_N
W R1
SD CK
SDA1
0
DD P
RAS
HDPA
C F IO
W _NBS3
_ N W
R3
HDPB
NANDOE
CFO
E_ NR D
NAN
D WE
SHDN
AVD
D
AGN
D
VREFP
Figure 2-3. AT91SAM9G20-EK Block Diagram
Setting Up the AT91SAM9G20-EK Board
AT91SAM9G20-EK Evaluation Board User Guide 2-5
6413C–ATARM–18-Feb-09
Setting Up the AT91SAM9G20-EK Board
2-6 AT91SAM9G20-EK Evaluation Board User Guide
6413C–ATARM–18-Feb-09
Loading...
+ 27 hidden pages