
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
882
Freescale Semiconductor
24.5.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 24.5.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 24-48. 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 24-57. 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
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...