MPC555
/
MPC556
SYSTEM CONFIGURATION AND PROTECTION
MOTOROLA
USER’S MANUAL
Rev. 15 October 2000
6-6
The external master may access the internal MPC555 / MPC556 special registers that
are located outside the RCPU. In order to access one of these MPC555 / MPC556 reg-
isters, program the EMCR to MPC555 / MPC556 special register access (CONT = 1
and SUPU = 0 in EMCR). Next, access the register by providing the address according
to the MPC555 / MPC556 address map. Only the first external master access that fol-
lows EMCR setting will be assigned to the special register map; the next accesses will
be directed to the normal address map. This is done in order to enable the user to ac-
cess the EMCR again after the required MPC555 / MPC556 special register access.
Peripheral mode does not require external bus arbitration between the external master
and the internal RCPU, since the internal RCPU is disabled. The BR and BB signals
should be connected to ground, and the internal bus arbitration should be selected in
order to prevent the “slave” MPC555 / MPC556 from occupying the external bus. In-
ternal bus arbitration is selected by clearing the EARB bit in the SIUMCR (see
SIU Module Configuration Register
6.2.2 Address Decoding for External Accesses
During an external master access, the USIU compares the external address with the
internal address block to determine if MPC555 / MPC556 operation is required. Since
only 24 of the 32 internal address bits are available on the external bus, the USIU as-
signs zeros to the most significant address bits (ADDR[0:7]).
The address compare sequence can be summarized as follows:
• Normal external access. If the CONT bit in EMCR is cleared, the address is com-
pared to the internal address map.
• MPC555 / MPC556 special register external access. If the CONT bit in EMCR is
set by the previous external master access, the address is compared to the
MPC555 / MPC556 special address range. See
for a list of the SPRs in the USIU.
• Memory controller external access. If the first two comparisons do not match, the
internal memory controller determines whether the address matches an address
assigned to one of the regions. If it finds a match, the memory controller gener-
ates the appropriate chip select and attribute accordingly
When trying to fetch an MPC555 / MPC556 special register from an external master,
the address might be aliased to one of the external devices on the external bus. If this
device is selected by the MPC555 / MPC556 internal memory controller, this aliasing
does not occur since the chip select is disabled. If the device has its own address de-
coding or is being selected by external logic, this case should be resolved.
6.3 USIU General-Purpose I/O
The USIU provides 64 general-purpose I/O (SGPIO) pins. The SGPIO pins are multi-
plexed with the address and data pins. In single-chip mode, where communicating with
external devices is not required, the user can use all 64 SGPIO pins. In multiple-chip
mode, only eight SGPIO pins are available. Another configuration allows the use of the
address bus for instruction show cycles while the data bus is dedicated to SGPIO func-
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
.
..