283
Bus and Memory Control (BCU, MEMC)
Chapter 7
Preliminary User’s Manual U17566EE1V2UM00
(2)
Programmable wait function
With the purpose of realizing easy interfacing with low-speed memory or with
I/Os, it is possible to insert up to seven data wait states after the first access
cycle (T1 state).
The number of wait states can be specified by data wait control registers
DWC0 and DWC1.
For on-page access of a page ROM, wait control is performed according to
page ROM configuration register (PRC) setting. The settings of registers
DWC0 and DWC1 are neglected.
(3)
External wait function
Each read or write operation takes at least two cycles (T1 and T2). To stretch
the access cycle for accessing slow external devices, any number of wait
states (TW) can be inserted under external control of the WAIT signal.
The WAIT signal can be set asynchronously from the system clock. The WAIT
signal is sampled at the rising edge of the clock in the T1 and TW states.
Depending on the level of the WAIT signal at sampling timing, a wait state is
inserted or not.
(4)
Relationship between programmable wait and external wait
If both programmable wait and external wait (WAIT) are applied, an OR
relation gives the resulting number of wait cycles.
Figure 7-10
shows that as
long as any of the two waits is active, a wait cycle will be performed.
Figure 7-10
Example of wait insertion
Note
The circles indicate the sampling timing.
T1
TW
TW
BCLK
WAIT pin
W
a
it
b
y WAIT pin
Progr
a
mm
ab
le w
a
it
W
a
it control
TW
T2
electronic components distributor