MPC555
/
MPC556
SYSTEM CONFIGURATION AND PROTECTION
MOTOROLA
USER’S MANUAL
Rev. 15 October 2000
6-5
6.2 External Master Modes
External master modes are special modes of operation that allow an alternate master
on the external bus to access the internal modules for debugging and backup purpos-
es. They provide access to the internal buses (U-bus and L-bus) and to the intermod-
ule bus (IMB3).
There are two external master modes. Peripheral mode (enabled by setting PRPM in
the EMCR) is a special slave mechanism in which the RCPU is shut down and an al-
ternate master on the external bus can perform accesses to any internal bus slave.
Slave mode (enabled by setting SLVM and clearing PRPM in the EMCR) enables an
external master to access any internal bus slave while the RCPU is fully operational.
Both modes can be enabled and disabled by software. In addition, peripheral mode
can be selected from reset.
The internal bus is not capable of providing fair priority between internal RCPU ac-
cesses and external master accesses. If the bandwidth of external master accesses is
large, it is recommended that the system forces gaps between external master ac-
cesses in order to avoid suspension of internal RCPU activity.
The MPC555 / MPC556 does not support burst accesses from an external master;
only single accesses of 8, 16, or 32 bits can be performed. The MPC555 / MPC556
asserts burst inhibit (BI) on any attempt to initiate a burst access to internal memory.
The MPC555 / MPC556 provides memory controller services for external master ac-
cesses (single and burst) to external memories. See
for details.
6.2.1 Operation of External Master Modes
The external master modes are controlled by the EMCR register, which contains the
internal bus attributes. The default attributes in the EMCR enable the external master
to configure EMCR with the required attributes, and then access the internal registers.
The external master must be granted external bus ownership in order to initiate the ex-
ternal master access. The SIU compares the address on the external bus to the allo-
cated internal address space. If the address is within the internal space, the access is
performed with the internal bus. The internal address space is determined according
to ISB (see
6.13.1.2 Internal Memory Map Register
for details). The external master
access is terminated by the TA, TEA or RETRY signal on the external bus.
A deadlock situation might occur if an internal-to-external access is attempted on the
internal bus while an external master access is initiated on the external bus. In this
case, the SIU will assert the RETRY on the external bus in order to relinquish and retry
the external access until the internal access is completed. The internal bus will deny
other internal accesses for the next eight clocks in order to complete the pending ac-
cesses and prevent additional internal accesses from being initiated on the internal
bus. The SIU will also mask internal accesses to support consecutive external access-
es if the delay between the external accesses is less than 4 clocks. The external mas-
ter access and retry timings are described in
9.5.11 Bus Operation in External
F
re
e
sc
a
le
S
e
m
ic
o
n
d
u
c
to
r,
I
Freescale Semiconductor, Inc.
For More Information On This Product,
Go to: www.freescale.com
n
c
.
..