Motorola DSP96002 User Manual
Page 125
MOTOROLA
DSP96002 USER’S MANUAL
7 - 39
7.4.21.8
68K Interrupt Register Write
HIVR points to the slave IVR register (
—
H
–
S=0,
—
H
–
A=1, A5-A2=1100). The master executes the follow-
ing instruction:
MOVE R0,Y:HIVR
7.4.21.9
X/Y/P Memory Write Procedure
The X/Y/P Memory Write procedure enables the host processor to write a data word D into an arbitrary ad-
dress A located in the DSP96002 memory space. The host processor must execute the following steps:
1.
Verify that TX is empty (TXDE=1).
2.
Write A into the TX register using the host function "TX register write and X/Y/P Memory Write
Interrupt". If HRX is empty, the HI then transfers A to HRX automatically.
3.
Verify that TX is empty (TXDE=1).
4.
Write D into the TX register using the host function "TX register write and X/Y/P Memory Write
Interrupt". This second write initiates the X/Y/P Memory Write interrupt.
MC680
x
0
PROCESSOR
INTERRUPTING DEVICE - DSP
96002
Acknowledge Interrupt Request Interrupt
1.Compare Interrupt Request Level
with Interrupt Mask.
2.Set R/
—
W to Read.
3.Set Function Code to CPU Space
and output IACK address.
4.Assert Address Strobe (
—
A
–
S) and
Data Strobe (
—
D
–
S). Provide 68K Vector
Place IVR contents on
Data Bus in response
Acquire vector number to
—
H
–
A=0 &
—
T
–
S=0, when
—
H
–
R=0.
1.Latch Vector Number
2.Deassert
—
D
–
S and
—
A
–
S
Start Interrupt Processing
Figure 7-21. 68K Interrupt Acknowledge Sequence