UM10208_2
© NXP B.V. 2007. All rights reserved.
User manual
Rev. 02 — 1 June 2007
113 of 362
NXP Semiconductors
UM10208
Chapter 8: LPC2800 EMC
Mapping the MODE register value
The Micron MT48LC8M16A2 (8 M x 16) is a BRC type SDRAM. According to
,
it has the following address mapping:
Therefore, the MODE register value has to be mapped to the Row address shifted left by
10 bits. The corresponding code line is:
Temp = *(volatile unsigned short *) (0x30008C00);
12.1 Address mapping tables
Address mapping tables for 32-bit and 16-bit memories are provided below.
Bn is the byte address in a 32-bit word, Cn is he column address, Rn is the row address,
and BAn is the bank address.
12.1.1 32-bit memory data bus width
Table 110. Address mapping control bits in EMCDynamicConfig for Micron MT48LC8M16A2
14
12
11:9
8:7
Description
Row
addr
bits
BA1
bit
16 bit external bus low-power SDRAM address mapping (Bank, Row, Column)
0
1
010
01
8Mx16, 4 banks, row length=12, col length=9
21:10
23
Table 111. 32-bit memory bus width
SDRAM address mapping: 2 K rows, 256/512/1025/2048 columns
A27
A26
A25
A24
A23
A22
A21
A20
A19
A18
-
-
-
-
-
BA1
BA0
R10
R9
R8
-
-
-
-
BA1
BA0
R10
R9
R8
R7
-
-
-
BA1
BA0
R10
R9
R8
R7
R6
-
-
BA1
BA0
R10
R9
R8
R7
R6
R5
A17
A16
A15
A14
A13
A12
A11
A10
A9
A8
R7
R6
R5
R4
R3
R2
R1
R0
C7
C6
R6
R5
R4
R3
R2
R1
R0
C8
C7
C6
R5
R4
R3
R2
R1
R0
C9
C8
C7
C6
R4
R3
R2
R1
R0
C10
C9
C8
C7
C6
A7
A6
A5
A4
A3
A2
A1
A0
C5
C4
C3
C2
C1
C0
B1
B0
C5
C4
C3
C2
C1
C0
B1
B0
C5
C4
C3
C2
C1
C0
B1
B0
C5
C4
C3
C2
C1
C0
B1
B0