Table 7-54. Swaitwenx Register; Table 7-55. Swaitwenx Fields; Static Memory Write Enable Delay Registers (Swaitwenx) - Sharp LH79524 User Manual

Table of Contents

Advertisement

External Memory Controller

7.5.2.22 Static Memory Write Enable Delay Registers (SWAITWENx)

The Static Memory Write Enable Delay Registers allow programming a delay between
Address Valid and the assertion of nWE (nBLEx). See Section 7.2.4.1.2 for a complete
description of programming these registers.
Wait states behave slightly differently for Write transactions than for Reads. Instead
of the length of the Write cycle (tWC) being the sum of the valued programmed into the
SWAITWENx and SWAITWRx registers, it has the following relationship (with 'A' being
SWAITWENx, 'B' being SWAITWRx, and 'C' being the address hold time):
tWC = tA0 + tB0 + tB1 ... tBn + 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 tWC = tA0 + tB0 + C, and is therefore the zero wait
state timing.
Note that additional 'A' terms (delaying the assertion of nWE or nBLEx) do not add wait
states. This also requires that: SWAITWRx
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
outstanding 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:4
3:0
7-54

Table 7-54. SWAITWENx Register

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

Table 7-55. SWAITWENx Fields

NAME
///
Reserved Reading returns 0. Write the reset value.
Wait Write Enable Program the delay from assertion of nCSx to the asser-
WAITWEN
tion of nWE (nBLEx). See Section 7.2.4.1.2 for timing examples.
SWAITWENx.
26
25
24
23
///
0
0
0
0
0
RO
RO
RO
RO
10
9
8
7
///
0
0
0
0
0
RO
RO
RO
RO
0xFFFF1000 + 0x204 for SWAITWEN0
0xFFFF1000 + 0x224 for SWAITWEN1
0xFFFF1000 + 0x244 for SWAITWEN2
0xFFFF1000 + 0x264 for SWAITWEN3
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
WAITWEN
0
0
0
0
0
RO
RO
RO
RW
RW
17
16
0
0
RO
RO
1
0
0
0
RW
RW

Advertisement

Table of Contents
loading

This manual is also suitable for:

Lh79525

Table of Contents