![](http://datasheet.mmic.net.cn/30000/MQ83C154DXXX-25-883R_datasheet_2377229/MQ83C154DXXX-25-883R_151.png)
151
6384E–ATARM–05-Feb-10
AT91SAM9G20
20.7.2
32-bit SDRAM
20.7.2.1
Hardware Configuration
20.7.2.2
Software Configuration
The following configuration has to be performed:
Assign the EBI CS1 to the SDRAM controller by setting the bit EBI_CS1A in the EBI Chip
Select Assignment Register located in the bus matrix memory space.
Initialize the SDRAM Controller depending on the SDRAM device and system bus frequency.
The Data Bus Width is to be programmed to 32 bits. The data lines D[16..31] are multiplexed
with PIO lines and thus the dedicated PIOs must be programmed in peripheral mode in the PIO
controller.
The SDRAM initialization sequence is described in the “SDRAM device initialization” part of the
SDRAM controller.
CAS
SDCKE
SDCK
RAS
SDWE
SDA10
D13
D18
D12
D22
D8
D7
D3
D28
D11
D26
D21
D2
D14
D4
D24
D0
D23
RAS
D27
D1
D19
D10
D31
D17
CAS
SDA10
D25
D29
D16
SDCK
D9
D20
SDWE
SDCKE
D5
D30
D15
D6
A5
BA0
A2
A11
A7
A4
A9
A14
A8
A1
A5
A2
BA1
A13
A6
A3
A10
BA0
A10
A13
A8
BA1
A6
A4
A14
A9
A7
A11
A0
RAS
CAS
SDA10
SDWE
SDCKE
SDCK
CFIOW_NBS3_NWR3
CFIOR_NBS1_NWR1
SDCS_NCS1
BA0
BA1
D[0..31]
A[0..14]
3V3
1%6
256 Mbits
1%6
(Not used A12)
TSOP54 PACKAGE
C11 100NF
C9 100NF
C1 100NF
C12 100NF
MT48LC16M16A2
U2
MT48LC16M16A2
U2
A0
23
A1
24
A2
25
A3
26
A4
29
A5
30
A6
31
A7
32
A8
33
A9
34
A10
22
BA0
20
A12
36
DQ0
2
DQ1
4
DQ2
5
DQ3
7
DQ4
8
DQ5
10
DQ6
11
DQ7
13
DQ8
42
DQ9
44
DQ10
45
DQ11
47
DQ12
48
DQ13
50
DQ14
51
DQ15
53
VDD
1
VSS
28
VSS
41
VDDQ
3
VDD
27
N.C
40
CLK
38
CKE
37
DQML
15
DQMH
39
CAS
17
RAS
18
WE
16
CS
19
VDDQ
9
VDDQ
43
VDDQ
49
VSSQ
6
VSSQ
12
VSSQ
46
VSSQ
52
VDD
14
VSS
54
A11
35
BA1
21
C7 100NF
C13 100NF
C8 100NF
C14 100NF
MT48LC16M16A2
U1
MT48LC16M16A2
U1
A0
23
A1
24
A2
25
A3
26
A4
29
A5
30
A6
31
A7
32
A8
33
A9
34
A10
22
BA0
20
A12
36
DQ0
2
DQ1
4
DQ2
5
DQ3
7
DQ4
8
DQ5
10
DQ6
11
DQ7
13
DQ8
42
DQ9
44
DQ10
45
DQ11
47
DQ12
48
DQ13
50
DQ14
51
DQ15
53
VDD
1
VSS
28
VSS
41
VDDQ
3
VDD
27
N.C
40
CLK
38
CKE
37
DQML
15
DQMH
39
CAS
17
RAS
18
WE
16
CS
19
VDDQ
9
VDDQ
43
VDDQ
49
VSSQ
6
VSSQ
12
VSSQ
46
VSSQ
52
VDD
14
VSS
54
A11
35
BA1
21
C2 100NF
C3 100NF
C4 100NF
C5 100NF
C6 100NF
C10 100NF