EMIF Registers
828
SPNU563A – March 2018
Copyright © 2018, Texas Instruments Incorporated
External Memory Interface (EMIF)
21.3 EMIF Registers
The external memory interface (EMIF) is controlled by programming its internal memory-mapped registers
(MMRs).
lists the memory-mapped registers for the EMIF.
NOTE:
All EMIF MMRs, except SDCR, support only word (32-bit) accesses. Performing a byte (8-
bit) or halfword (16-bit) write to these registers results in undefined behavior. The SDCR is
byte writable to allow the setting of the SR, PD, and PDWR bits without triggering the
SDRAM initialization sequence.
The EMIF registers must always be accessed using 32-bit accesses (unless otherwise specified in this
chapter). The base address of the EMIF memory-mapped registers is FCFF E800h.
Table 21-24. External Memory Interface (EMIF) Registers
Offset
Acronym
Register Description
Section
00h
MIDR
Module ID Register
04h
AWCC
Asynchronous Wait Cycle Configuration Register
08h
SDCR
SDRAM Configuration Register
0Ch
SDRCR
SDRAM Refresh Control Register
10h
CE2CFG
Asynchronous 1 Configuration Register
14h
CE3CFG
Asynchronous 2 Configuration Register
18h
CE4CFG
Asynchronous 3 Configuration Register
1Ch
CE5CFG
Asynchronous 4 Configuration Register
20h
SDTIMR
SDRAM Timing Register
3Ch
SDSRETR
SDRAM Self Refresh Exit Timing Register
40h
INTRAW
EMIF Interrupt Raw Register
44h
INTMSK
EMIF Interrupt Mask Register
48h
INTMSKSET
EMIF Interrupt Mask Set Register
4Ch
INTMSKCLR
EMIF Interrupt Mask Clear Register
68h
PMCR
Page Mode Control Register
21.3.1 Module ID Register (MIDR)
This is a read-only register indicating the module ID of the EMIF. The MIDR is shown in
and
described in
Figure 21-15. Module ID Register (MIDR) [offset = 00]
31
0
REV
R-x
LEGEND: R = Read only; -
n
= value after reset
Table 21-25. Module ID Register (MIDR) Field Descriptions
Bit
Field
Value
Description
31-0
REV
x
Module ID of EMIF. See the device-specific data manual.