2 - 16 DSP96002 USER’S MANUAL MOTOROLA

4.11.2 The Arbitration Protocol

The bus is arbitrated by a central bus arbitrator, using individual request/grant lines to each bus master.
The arbitration protocol can operate in parallel with bus transfer activity so that the bus hand-over can be
made without much performance penalty.
The arbitration sequence occurs as follows:
5:12. All candidates for bus ownership assert their respective BR signals as soon as they need
the bus.
5:13. The arbitration logic designates a bus master-elect by asserting the BG signal for that de-
vice.
5:14. The master-elect tests BB to ensure that the previous master has relinquished the bus.
If BB is deasserted, then the master-elect asserts BA, which designates the device as
the new bus master. If a higher priority bus request occurs before the BB signal was
deasserted, then the arbitration logic may replace the current master-elect with the higher
priority candidate. However, only one BG signal must be asserted at one time.
5:15. The new bus master begins its bus transfers after the assertion of BA.
5:16. The arbitration logic signals the current bus master to relinquish the bus by deasserting B
G at any time. A DSP96002 bus master releases its ownership (deasserts BA) after
completing the current external bus access. If an instruction is executing a Read-Modify-
Write external access, a DSP96002 master asserts the BL signal and will only relinquish
the bus (and deassert BL) after completing the entire Read-Modify-Write sequence.
When the current bus master deasserts ���BA, the BB signal must also be deasserted
because the next bus master-elect has received its BG signal and is waiting for BB to
be deasserted before claiming ownership.
The DSP96002 has 2 control bits and one status bit, located in the Bus Control Registers (see Section 7)
to permit software control of the BR and BL signals, and to verify when the chip is the bus master.
If the RH bit in the BCR register is cleared, the DSP96002 asserts its BR signal only as long as requests
for bus transfers are pending or being attempted. If the RH bit is set, BR will remain asserted. If the
LH bit in the BCR register is cleared, the DSP96002 asserts its BL signal only during a read-modify-
write bus access. If the LH bit is set, BL will remain asserted.

5.16.1 Arbitration Scheme

The bus arbitration scheme is implementation dependent. The diagram in Figure 2-7 illustrates a common
method of implementing the bus arbitration scheme. The arbitration logic determines the device priorities
and assigns bus ownership depending on those priorities.