MOTOROLA
DSP96002 USER’S MANUAL
7 - 31
The HI interrupt requests to the external host processor use the Host Request
—
H
–
R pin.
—
H
–
R is normally
connected to a host processor interrupt input. The host processor acknowledges HI interrupts by executing
an interrupt service routine. The MC680x0 processor family will assert the
—
T
–
S pin when both
—
H
–
R and
—
H
–
A are asserted to read the exception vector number from the IVR register of the HI. In a multi-
DSP96002 system, the HREQ bit in the Interrupt Status Register (ICS) may be tested to determine which
DSP96002 HI is the interrupting device and the RXDF, TXDE and TRDY bits may then be tested to deter-
mine the interrupt source. The host processor interrupt service routine must read or write the appropriate
HI register to clear the interrupt and deassert
—
H
–
R.
7.4.17
Host Processor Programmer Considerations
7.4.17.1
Reading RX
When reading the Receive register RX, the host processor programmer should use interrupts or poll the
RXDF flag which indicates that data is available. This guarantees that the data in the RX register will be
stable.
7.4.17.2
Writing TX
The host processor programmer should not write to the Transmit register TX unless the TXDE bit is set,
indicating that the TX register is empty. This guarantees that the HI will transfer stable data to the HRX reg-
ister on the DSP96002 side.
7.4.17.3
Synchronization of Status Bits from DSP96002 to Host Processor
HC, HMRC, HREQ, HF3, HF2, TRDY, TXDE, and RXDF status bits are set or cleared from the DSP96002
side of the HI and read by the host processor. The host processor is able to read these status bits without
regard to the clock rate used by the DSP96002, but there is a chance that the state of the bit could be chang-
ing during the read operation. This is generally not a system problem, since, if the bit is changing, the read
will indicate that another poll should be taken and the bit will be read correctly in the next pass of the polling
routine.
The only potential system problem with the uncertainty of reading any status bits by the Host is when HF3
and HF2 are being used as an encoded pair. For example, if the DSP96002 changes HF3 and HF2 from
"00" to "11" there is a very small probability that the host processor could read the bits during the transition
and receive "01" or "10" instead of "11". If the combination of HF3 and HF2 has significance, it is recom-
mended that the HF3 and HF2 bits be read twice and checked for consensus.
7.4.17.4
Writing the Host Vector Register
The host processor programmer should change the Host Vector register only when the Host Command bit
(HC) is cleared. Clearing HC is a DSP96002 HI task and should not be done by the host programmer. This
guarantees that the DSP96002 interrupt control logic will receive a stable vector.
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: ......