UM10503
All information provided in this document is subject to legal disclaimers.
© NXP B.V. 2012. All rights reserved.
User manual
Rev. 1.3 — 6 July 2012
466 of 1269
21.1 How to read this chapter
The EMC is available on all LPC43xx parts.
The memory and address bus widths depend on package size (see
). Additional
data and control pins are available on parts with on-chip flash.
21.2 Basic configuration
The External Memory Controller is configured as follows:
•
See
for clocking and power control. Two clocks are supported:
–
BASE_M4_CLK
–
1/2
BASE_M4_CLK
If the EMC CCLK is configured for 1/2
BASE_M4_CLK, the CLK_M4_EMC_DIV
branch clock must be configured for half-frequency clock operation in both the
CREG6 register (
) and the CCU1 CLK_EMCDIV_CFG register
).
•
To use 16-bit wide and 32-bit wide SDRAM interfaces, select the EMC_CLK function
and enable the input buffer (EZI = 1) in all four SFSCLKn registers in the SCU.
•
The EMC is reset by the EMC_RST (reset # 21).
UM10503
Chapter 21: LPC43xx External Memory Controller (EMC)
Rev. 1.3 — 6 July 2012
User manual
Table 349. EMC pinout for different packages
Function
LBGA256
TFBGA180
TFBGA100
LQFP208
LQFP144
LQFP100
A
EMC_A[22:0]
EMC_A[22:0]
EMC_A[13:0]
EMC_A[22:0]
EMC_A[15:0]
-
D
EMC_D[31:0]
EMC_D[15:0]
EMC_D[7:0]
EMC_D[29:0]
EMC_D[15:0]
-
BLS
EMC_BLS[3:0]
EMC_BLS[3:0]
EMC_BLS0
EMC_BLS[3:0]
EMC_BLS[1:0]
-
CS
EMC_CS[3:0]
EMC_CS[3:0]
EMC_CS0
EMC_CS[3:0]
EMC_CS[1:0]
-
OE
EMC_OE
EMC_OE
EMC_OE
EMC_OE
EMC_OE
-
WE
EMC_WE
EMC_WE
EMC_WE
EMC_WE
EMC_WE
-
CKEOUT
EMC_
CKEOUT[3:0]
EMC_
CKEOUT[1:0]
EMC_
CKEOUT[1:0]
EMC_
CKEOUT[1:0]
EMC_
CKEOUT[1:0]
-
CLK
EMC_CLK[3:0];
EMC_CLK01,
EMC_CLK23
EMC_CLK0,
EMC_CLK3;
EMC_CLK01,
EMC_CLK23
EMC_CLK0,
EMC_CLK3;
EMC_CLK01,
EMC_CLK23
EMC_CLK0,
EMC_CLK3;
EMC_CLK01,
EMC_CLK23
EMC_CLK0,
EMC_CLK3;
EMC_CLK01,
EMC_CLK23
-
DQMOUT
EMC_
DQMOUT[3:0]
EMC_
DQMOUT[1:0]
-
EMC_
DQMOUT[1:0]
EMC_
DQMOUT[1:0]
-
DYCS
EMC_
DYCS[3:0]
EMC_DYCS[2:0] EMC_DYCS[1:0] EMC_DYCS[2:0] EMC_DYCS[1:0] -
CAS
EMC_CAS
EMC_CAS
EMC_CAS
EMC_CAS
EMC_CAS
-
RAS
EMC_RAS
EMC_RAS
EMC_RAS
EMC_RAS
EMC_RAS
-