
PEB 20321
PEF 20321
Local Bus Interface (LBI)
Data Sheet
161
2001-02-14
Bus Arbitration Master Initialization
After reset, the master is normally starting execution out of external memory. During
reset, the default is the arbitration slave mode. The master arbitration mode must first be
selected done by setting the LCONF.ABM =
‘
1
’
. During the initialization, the HDEN bit in
register LCONF must be set. Since the LHOLD pin is held high through the external pull-
up, no hold requests can occur, even when the slave has not been initialized yet.
Note that the HDEN bit of the master can be reset during normal operation to force the
master to ignore hold requests from the slave until HDEN is set again. However, the pins
LHOLD, LHLDA and LBREQ are still reserved for the bus arbitration. This is intended to
have the option to disable certain critical processes against interruption through hold
requests.
Bus Arbitration Slave Initialization
The slave must start using internal resources only after reset. During reset, the default
mode is the slave mode. This is also done by programming the LCONF.ABM =
‘
0
’
. This
enables the slave mode of the bus arbitration signals. After this, the HDEN bit in register
LCONF must be set.
Note: 1. After setting the slave
’
s HDEN bit, the LBREQ output of the slave might be
activated to low for a period of 2TCL. If the master does not recognize this hold
request (it depends on the master
’
s transition detection time slot, whether this
short pulse is detected), this pulse has no effect. If the master recognizes this
pulse, it might go into hold mode for one cycle.
2. It is recommended to not reset the slave
’
s HDEN bit after initialization.
6.2.7.3
The figure
below shows the sequence of the bus arbitration signals in a master/slave
system. The start-up condition is that the master is in normal mode and operating on the
external bus, while the slave is in hold mode, operating from internal memory; the slave
’
s
bus interface is tristated. The marked time points in the diagram are explained in detail
in the following.
1)
The slave detects that it has to perform an external bus access. It activates LBREQ
to low, which issues a hold request to the master.
2)
The master activates LHLDA after releasing the bus. This initiates the slave
’
s exit from
hold sequence.
3a)
When the master detects that it also has to perform external bus accesses, it
activates LBREQ to low. The earliest time for the master to activate LBREQ is one TCL
after the activation of the master
’
s LHLDA signal. However, the slave will ignore this
signal until it has completely taken over control of the external bus. In this way, it is
assured that the slave will at least perform one complete external bus access.
Operation of the Master/Slave Bus Arbitration