Table 7-58. Swaitrdx Register; Table 7-59. Swaitrdx Fields; Static Memory Read Delay Registers (Swaitrdx) - Sharp LH79524 User Manual

Table of Contents

Advertisement

External Memory Controller

7.5.2.24 Static Memory Read Delay Registers (SWAITRDx)

The Static Memory Read Delay Registers enable programming Read cycle wait states. A
complete description of programming this register appears in Section 7.2.4.1.1.
The total Read cycle time is the total time that the address is valid. During this time, several
parameters are programmable. In the following equations, 'D' represents the SWAITOENx
register, 'E' represents the SWAITRDx register, and 'C' represents the address hold time.
In general, Read wait states can be derived from the following equation:
tRC (Read cycle time) = tD1 + tD2 + ... tDn + tE0 + tE1 + ... tEn + C, where the length of
each term is one HCLK period, and 'n' is the value programmed in the respective register.
The minimum value for the equation is tRC = tE0 + C, and is therefore the zero wait
state timing.
Thus, Read wait states can be programmed using the appropriate mix of nOE extension
(programmed in SWAITRDx) with nOE assertion delay (programmed in SWAITOENx).
These registers must only be modified during system initialization, or when there are no
current or outstanding transactions. Software can ensure that there are no current or out-
standing transactions by waiting until the memory controller is idle, then entering Low-
Power Mode (CONTROL:MODE = 1), or Disable Mode (CONTROL:ENABLE = 0). When
in these two modes, external memory access is not allowed, ensuring that changing
parameters will not corrupt external data. Low-Power Mode automatically refreshes
SDRAM; Disable Mode requires commanding the SDRAM to Self Refresh
(DYNMCTRL:SR = 1) prior to entering Disable.
BIT
FIELD
RESET
TYPE
BIT
FIELD
RESET
TYPE
ADDR
BITS
31:5
4:0
7-56

Table 7-58. SWAITRDx Register

31
30
29
28
27
0
0
0
0
0
RO
RO
RO
RO
RO
15
14
13
12
11
0
0
0
0
0
RO
RO
RO
RO
RO

Table 7-59. SWAITRDx Fields

NAME
///
Reserved Reading returns 0. Write the reset value.
Read Access Delay Non-page mode Read or Asynchronous Page Mode
Read, delay first read only:
WAITRD
Delay = (n + 1) HCLK cycles
26
25
24
23
///
0
0
0
0
RO
RO
RO
RO
10
9
8
7
///
0
0
0
0
RO
RO
RO
RO
0xFFFF1000 + 0x20C for SWAITRD0
0xFFFF1000 + 0x22C for SWAITRD1
0xFFFF1000 + 0x24C for SWAITRD2
0xFFFF1000 + 0x26C for SWAITRD3
FUNCTION
Version 1.0
LH79524/LH79525 User's Guide
22
21
20
19
18
0
0
0
0
0
RO
RO
RO
RO
RO
6
5
4
3
2
WAITRD
0
0
1
1
1
RO
RO
RW
RW
RW
17
16
0
0
RO
RO
1
0
1
1
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lh79525

Table of Contents