ARM9TDMI Processor Core Memory Interface
ARM DDI0145B
Copyright © 1998, 1999 ARM Limited. All rights reserved.
3-3
It is not as critical for the instruction interface to have access to the data memory area
unless the processor needs to execute code from data memory.
3.1.1
Wait states
For memory accesses which require more than one cycle, the processor can be halted
by using
nWAIT
. This signal halts the processor, including both the instruction and data
interfaces. The
nWAIT
signal should be driven LOW by the end of phase 2 to stall the
processor (it is inverted and ORed with
GCLK
to stretch the internal processor clock).
The
nWAIT
signal must only change during phase 2 of
GCLK
. For debug purposes the
internal core clock is exported on the
ECLK
signal. This timing is shown below in
Alternatively, wait states may be inserted by stretching either phase of
GCLK
before it
is applied to the processor. ARM9TDMI does not contain any dynamic logic which
relies on regular clocking to maintain its state. Therefore there is no limit on the
maximum period for which
GCLK
may be stretched, in either phase, or the time for
which
nWAIT
may be held LOW.
The system designer must take care when adding wait states because the interface is
pipelined. When a wait state is asserted, the current data and instruction transfers are
suspended. However, the address buses and control signals will have already changed
to indicate the next transfer. It is therefore necessary to latch the address and control
signals of each interface when using wait states.
Figure 3-1 ARM9TDMI clock stalling using nWAIT
Summary of Contents for ARM9TDMI
Page 6: ...Contents vi Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 12: ...Preface xii Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 16: ...Introduction 1 4 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 22: ...Programmer s Model 2 6 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 110: ...Test Issues 6 6 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...
Page 154: ...Index Index 4 Copyright 1998 1999 ARM Limited All rights reserved ARM DDI0145B ...