MPC555
/
MPC556
TIME PROCESSOR UNIT 3
MOTOROLA
USER’S MANUAL
Rev. 15 October 2000
17-4
ation, so that any channel can be configured to perform any time function. Any function
can operate on the calling channel, and, under program control, on another channel
determined by the program or by a parameter. The user controls the combination of
time functions.
17.3.3 Interchannel Communication
The autonomy of the TPU3 is enhanced by the ability of a channel to affect the oper-
ation of one or more other channels without CPU intervention. Interchannel communi-
cation can be accomplished by issuing a link service request to another channel, by
controlling another channel directly, or by accessing the parameter RAM of another
channel.
17.3.4 Programmable Channel Service Priority
The TPU3 provides a programmable service priority level to each channel. Three pri-
ority levels are available. When more than one channel of a given priority requests ser-
vice at the same time, arbitration is accomplished according to channel number. To
prevent a single high-priority channel from permanently blocking other functions, other
service requests of the same priority are performed in channel order after the lowest-
numbered, highest-priority channel is serviced.
17.3.5 Coherency
For data to be coherent, all available portions of the data must be identical in age, or
must be logically related. As an example, consider a 32-bit counter value that is read
and written as two 16-bit words. The 32-bit value is read-coherent only if both 16-bit
portions are updated at the same time, and write-coherent only if both portions take
effect at the same time. Parameter RAM hardware supports coherent access of two
adjacent 16-bit parameters. The host CPU must use a long-word operation to guaran-
tee coherency.
17.3.6 Emulation Support
Although factory-programmed time functions can perform a wide variety of control
tasks, they may not be ideal for all applications. The TPU3 provides emulation capa-
bility that allows the user to develop new time functions. Emulation mode is entered by
setting the EMU bit in TPUMCR. In emulation mode, an auxiliary bus connection is
made between the DPTRAM and the TPU3, and access to DPTRAM via the intermod-
ule bus is disabled. A 9-bit address bus, a 32-bit data bus, and control lines transfer
information between the modules. To ensure exact emulation, DPTFLASH module ac-
cess timing remains consistent with access timing of the TPU microcode ROM control
store.
To support changing TPU application requirements, Motorola has established a TPU
function library. The function library is a collection of TPU functions written for easy as-
sembly in combination with each other or with custom functions. Refer to Motorola Pro-
gramming Note
Using the TPU Function Library and TPU Emulation Mode,
(
TPUPN00/D)
,
for information about developing custom functions and accessing the
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
.
..