MOTOROLA DSP96002 USER’S MANUAL 2 - 11

(BSET, BCLR, BCHG) will not give up bus mastership until the end of the current instruc-
tion. ——BG is ignored during hardware reset.
BA (Bus Acknowledge) - Open drain, active low output. When deasserting BA, the
DSP96002 drives BA high during half a CLK cycle and then disables the active pull-
up. In this way, only a weak external pull-up resistor is required to hold the line high.
BA may be directly connected to BB

in order to obtain the same functionality as the
MC68040 BB pin. When BG is asserted, the DSP96002 becomes the pending
bus master. It waits until BB is negated by the previous bus master, indicating that
the previous bus master is off the bus. The pending bus master asserts BA to be-
come the current bus master. BA is asserted when the CPU or DMA has taken the
bus and is the bus master. While BA is asserted, the DSP96002 is the owner of the
bus (the bus master). When BA is negated, the DSP96002 is a bus slave. BA
may be used as a three-state enable control for external address, data and bus control
signal buffers. BA is three-stated during hardware reset.
Note that a current bus master may keep BA asserted after ceasing bus activity, re-
gardless of whether BR is asserted or deasserted. This is called "bus parking" and
allows the current bus master to use the bus repeatedly without re-arbitration until some
other device wants the bus.
The current bus master keeps BA asserted during indivisible read-modify-write bus
cycles, regardless of whether BG has been deasserted by the external bus arbitra-
tion unit. This form of "bus locking" allows the current bus master to perform atomic op-
erations on shared variables in multitasking and multiprocessor systems. Current in-
structions which perform indivisible read-modify-write bus cycles are BCLR, BCHG and
BSET.
BB (Bus Busy) - active low input, must be asserted and deasserted synchronous to the input
clock (CLK) for proper operation. BB is deasserted when there is no bus master on
the external bus. In multiple DSP96002 systems, all BB inputs are tied together and
are driven by the logical AND of all BA outputs. BB is asserted by a pending bus
master (directly or indirectly by BA assertion) to indicate that it is now the current bus
master. BB is deasserted by the current bus master (directly or indirectly by BA
negation) to indicate that it is off the bus and is no longer the bus master. The pending
bus master monitors the BB signal until it is deasserted. Then the pending bus mas-
ter asserts BA to become the current bus master, which asserts BB directly or
indirectly.