![Freescale Semiconductor MPC5632M Manual Download Page 839](http://html.mh-extra.com/html/freescale-semiconductor/mpc5632m/mpc5632m_manual_2330659839.webp)
MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
839
Preliminary—Subject to Change Without Notice
23.4.5.5
Channel Link
A channel can issue service requests to other channels through microcode, by assigning to the write-only
microengine register LINK (refer to
Section 23.4.8.1.6, “LINK Register
) a value which specifies the target
channel of the Link Service Request, as shown in
.
Writing to the LINK register issues a link request to the target channel, setting its LSR flag. Each channel
has its own LSR flag, which can be tested as a microcode branch condition (see
“Conditional/Unconditional Branch
) and reset through the microcode field LSR (see
). The link branch condition samples, at the TST start, the value used to
calculate the Entry Point.
Writing LINK with another channel target value in the same thread issues a Link Service Request to the
new target, without negating the service request to the former one. This allows a channel to issue service
requests to any number of channels, including itself. Neither LINK nor LSR microengine accesses are
qualified by the CHAN register, i.e., they always access the serviced channel LINK and LSR, regardless
of the value written in CHAN.
If microcode executes an instruction with field LSR=0 (clear Link Service Request), the link branch
condition is cleared. However, the link service request itself is cleared only if no link was received by the
serviced channel during the same thread
1
. If microengine clears LSR of its channel and, simultaneously,
Link Service Request is issued to the current serviced channel, the branch condition is cleared but the link
service request remains pending.
Figure 23-51. Microengine LINK Register
A channel can issue Link Service Requests to channels in any of two Engines, determined by the LINK
register field Engine Selection (2 bits), as shown in
. In a Single Engine eTPU, Link is ignored
when sent to the other engine, or engine 2.
The engine which receives the link cannot distinguish where the link comes from, except by some
user-programmed protocol using SPRAM parameters. All links are negated on reset.
1.
That can only happen if the link service request came from the other Engine or from the serviced channel itself.
7
6
5
4
3
2
1
0
Engine Selection
reserved
1
1
reserved bit must be written 0.
Channel Number
Table 23-37. LINK Engine Selection
Engine
Selection
Description
00
this Engine
01
Engine 1
10
1
1
ignored in Single Engine eTPU.
Engine 2
11
the other Engine