Atmel ARM-Based Evaluation Kit AT91SAM9N12-EK AT91SAM9N12-EK Data Sheet

Product codes
AT91SAM9N12-EK
Page of 1104
323
SAM9N12/SAM9CN11/SAM9CN12 [DATASHEET]
11063K–ATARM–05-Nov-13
27.8.4 2x16-bit 
SDRAM
27.8.4.1 Hardware Configuration
Figure 27-9.  2x16-bit SDRAM Configuration
27.8.4.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 section “SDRAM Device Initialization” in “SDRAM Controller
(SDRAMC)”.
In this case, VDDNF must be equal to VDDIOM. The NAND Flash device must be 3.3V and wired on D0-D15 data bus.
NFD0_ON_D16 must be set to 0.
A10
A11
D4
A13
DQM0
D2
DQM2
A8
BA0
CAS
D10
BA1
D5
D12
A6
A3
D9
D14
D15
CLK
D23
D19
D18
D30
DQM1
D24
D26
A14
D31
D22
D28
D17
D25
D27
D16
D21
DQM3
D29
D20
A3
A4
A13
A9
SDA10
A7
A6
A5
A10
A11
A14
A2
A8
D3
CKE
RAS
A9
D0
WE
A5
D6
D7
A2
SDA10
D8
D1
A4
D13
D11
A7
SDCS
BA0
BA1
CLK
CKE
CAS
RAS
WE
A[1..14]
D[0..31]
VDDIOM
VDDIOM
VDDIOM
VDDIOM
256 Mbits
256 Mbits
SDRAM
C13
100NF
C13
100NF
C1
100NF
C1
100NF
C11
100NF
C11
100NF
R4
0R
R4
0R
C2
100NF
C2
100NF
C8
100NF
C8
100NF
C3
100NF
C3
100NF
MT48LC16M16A2
MN2
MT48LC16M16A2
MN2
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.C1
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
C4
100NF
C4
100NF
C5
100NF
C5
100NF
C12
100NF
C12
100NF
C6
100NF
C6
100NF
R3
470K
R3
470K
C9
100NF
C9
100NF
C14
100NF
C14
100NF
MT48LC16M16A2
MN1
MT48LC16M16A2P-75IT
MT48LC16M16A2
MN1
MT48LC16M16A2P-75IT
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.C1
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
R1
470K
R1
470K
R2
0R
R2
0R
C7
100NF
C7
100NF
C10
100NF
C10
100NF