External Memory Controller
LH79524/LH79525 User’s Guide
7-10
Version 1.0
7.2.4 Static Memory Device Selection
Table 7-1 shows suggested configurations for the static memory controller with different
types of memory devices. These fields are found in the SCONFIG register.
NOTES:
1. SRAM and FLASH memory devices can be write protected if required.
2. Buffering must be disabled when performing FLASH memory commands and during writes.
3. Enabling the buffers means that any access causes the buffer to be used. Depending on the application,
this can provide performance improvements. Generally, devices without async-page-mode support work
better with the buffer disabled. Depending on the application, this can provide performance improvements
.
7.2.4.1 Static Memory Timing Control
Programming the EMC to match the device timing uses the static register bank (See
Table 7-10). For Writes, the SWAITWENx and SWAITWRx registers contain programming
parameters; for Reads, SWAITOENx and SWAITRDx are the registers. The SWAITWRx
and SWAITRDx registers allow programming wait states, and the SWAITWENx and
SWAITOENx register allow delaying assertion of the nWE/nBLEx/nOE signals.
The BTC field in the Bank Control Register sets the number of bus turnaround wait states
added between external read and write transfers.
For ease in describing the memory timing, letters are used in the following diagrams
to represent the values programmed into the above registers: ‘A’ = SWAITWENx;
‘B’ = SWAITWRx; ‘C’ = the 1 HCLK-cycle address delay; ‘D’ = SWAITOENx; and
‘E’ = SWAITRD. These diagrams are intended solely to illustrate programming effects.
Actual timing diagrams and timing tables appear in the LH79524/LH79525 Data Sheet.
Table 7-1. Static Memory Configurations
DEVICE
WRITE PROTECT
PAGE MODE
BUFFER
NOTES
ROM
Enabled
Disabled
Disabled
Page Mode ROM
Enabled
Enabled
Enabled
Extended wait ROM
Enabled
Disabled
Disabled
SRAM
Disabled (or enabled)
Disabled
Disabled
1
Page Mode SRAM
Disabled (or enabled)
Enabled
Enabled
1
Extended Wait SRAM
Disabled (or enabled)
Disabled
Disabled
1
Flash
Disabled (or enabled)
Disabled
Disabled
1, 2
Page Mode Flash
Disabled (or enabled)
Enabled
Enabled
1, 2
Extended Wait Flash
Disabled (or enabled)
Disabled
Disabled
1
Memory mapped peripheral
Disabled (or enabled)
Disabled
Disabled
1