8 - 2
DSP96002 USER’S MANUAL
MOTOROLA
8.2.3 Wait Processing State
The wait processing state is a low power consumption mode entered by execution of the WAIT instruction.
In wait mode, the internal clock is disabled from all internal circuitry except the internal peripherals (the in-
terrupt controller and host interfaces). All internal processing is halted until any unmasked interrupt occurs,
the DSP96002 is reset, or
—
D
–
R is asserted. If exit from the wait state was caused by asserting
—
D
–
R,
the processor may enter the debug mode (see
Section 10
).
8.2.4 Stop Processing State
The stop processing state is the lowest power consumption mode and is entered by the execution of the
STOP instruction. In the stop mode, the clock oscillator is gated off, in contrast to the wait mode where the
clock oscillator remains active. All activity in the processor is halted until one of the following actions occurs:
1. A low level is applied to the
—
I
—
R
—
Q
–
A pin (
—
I
—
R
—
Q
–
A asserted)
2. A low level is applied to the
—
R
—
E
—
S
—
E
–
T pin (
—
R
—
E
—
S
—
E
–
T asserted)
3. A low level is applied to the
—
D
–
R pin.
Either of these actions will gate on the oscillator and, after a clock stabilization delay, clocks to the proces-
sor and peripherals will be re-enabled.
When the clocks to the processor and peripherals are re-enabled then the processor will enter the reset
processing state if the exit from stop state was caused by a low level on the
—
R
—
E
—
S
—
E
–
T pin.
If the exit from stop state was caused by a low level on the
—
I
—
R
—
Q
–
A pin then the processor will service
the highest priority pending interrupt. If no interrupt is pending (i. e.
—
I
—
R
—
Q
–
A was deasserted before
interrupts were arbitrated) then the processor resumes execution at the instruction following the STOP in-
struction that caused the entry into the stop state.
If the exit from stop state was caused by a low level on the
—
D
–
R pin, the processor may enter the debug
mode (see
Section 10
).
8.3
EXCEPTION PROCESSING
Exception processing in a digital signal processing environment is primarily associated with transfer of data
between DSP96002 memory or registers and a peripheral device. When an interrupt occurs, a limited con-
text switch must be performed with minimum overhead.
When a hardware interrupt is received, it is synchronized on instruction boundaries so that the first two in-
terrupt instruction words can be inserted into the instruction stream. Suppose that the interrupt is stored
in the interrupt pending latch during the current instruction fetch cycle. During the next cycle, which is the
decode cycle of the current instruction, the PC will be updated to fetch the next instruction. However, in
the following cycle, which is the execution cycle of the current instruction, the address placed on the pro-
gram address bus (PAB) comes from the appropriate interrupt start address, rather than from the PC. Note
that the PC is frozen until exception processing terminates.
Figure 8-1illustrates the effect of the interrupt controller, which is simply to insert two instruction words into
the processor’s instruction stream.
Summary of Contents for DSP96002
Page 3: ...1 2 DSP96002 USER S MANUAL MOTOROLA ...
Page 38: ...MOTOROLA DSP96002 USER S MANUAL 3 15 Figure 3 4 Modulo Arithmetic Unit Block Diagram ...
Page 39: ...3 16 DSP96002 USER S MANUAL MOTOROLA ...
Page 53: ...4 14 DSP96002 USER S MANUAL MOTOROLA ...
Page 76: ...MOTOROLA DSP96002 USER S MANUAL 5 23 Figure 5 8 Address Modifier Summary ...
Page 86: ...6 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 101: ...MOTOROLA DSP96002 USER S MANUAL 7 15 Figure 7 9 HI Block Diagram One Port ...
Page 140: ...7 54 DSP96002 USER S MANUAL MOTOROLA ...
Page 166: ...9 10 DSP96002 USER S MANUAL MOTOROLA ...
Page 181: ...MOTOROLA DSP96002 USER S MANUAL 10 15 Figure 10 8 Program Address Bus FIFO ...
Page 337: ...MOTOROLA DSP96002 USER S MANUAL A 149 ...
Page 404: ...A 216 DSP96002 USER S MANUAL MOTOROLA PC xxxx D ...
Page 460: ...A 272 DSP96002 USER S MANUAL MOTOROLA SIOP Not affected ...
Page 484: ...A 296 DSP96002 USER S MANUAL MOTOROLA SSH PC SSL SR SP 1 SP ...
Page 519: ...MOTOROLA DSP96002 USER S MANUAL A 331 ...
Page 718: ...MOTOROLA DSP96002 USER S MANUAL B 199 ...
Page 871: ... MOTOROLA INC 1994 MOTOROLA TECHNICAL DATA SEMICONDUCTOR M Addendum ...
Page 888: ...MOTOROLA INDEX 1 INDEX ...
Page 889: ......