MPC563XM Reference Manual, Rev. 1
Freescale Semiconductor
935
Preliminary—Subject to Change Without Notice
Figure 23-71. First-Pass Worst-Case Latency
To estimate worst-case latency:
•
Find the worst-case service time for each active channel.
•
Using the H-M-H-L-H-M-H time-slot sequence, map the channels that are granted for each time
slot.
•
Add time for six-clock time-slot transitions.
Finding the Worst-Case Service Time for Each Active Channel
A table for eTPU functions should list the longest threads (not counting initialization threads) for the
functions, and the number of eTPU SPRAM accesses in the longest thread (semaphored and non
semaphored). These figures will be used for estimating Microengine wait time.
is an example
for old TPU functions in which there are only simple parameter RAM accesses. It does not take into
consideration the CDC operation and Microengine to Microengine communication.
The worst-case service time for each channel is: (CPCR=CCR=0)
Longest ((number of RAM accesses in longest 1) * RCR * 2 clocks). Note that the formula
adds 1 RAM accesses for the parameter preload that occurs during TST. There are actually three accesses
during TST, but only the first one can receive wait-states.
Table 23-101. Longest Threads and RAM Accesses for old TPU Functions
Function
Longest Thread RAM Accesses
DIO
10
4
ITC
40 (no linking)
42 (linking)
7
OC
40
7
PWM
24
4
SPWM
Mode 0
Mode1
Mode 2
14
18
20 (no linking)
22 (linking
4
4
4
4
PMA
94
8
PMM
94
8
Channel X
Serviced
Worst Case Latency Channel X
Other Channels Serviced
Channel X
Serviced Next
Содержание MPC5632M
Страница 22: ...MPC563XM Reference Manual Rev 1 22 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 62: ...MPC563XM Reference Manual Rev 1 62 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 92: ...MPC563XM Reference Manual Rev 1 92 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 168: ...MPC563XM Reference Manual Rev 1 168 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 242: ...MPC563XM Reference Manual Rev 1 242 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 302: ...MPC563XM Reference Manual Rev 1 302 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 410: ...MPC563XM Reference Manual Rev 1 410 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 440: ...MPC563XM Reference Manual Rev 1 440 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 464: ...MPC563XM Reference Manual Rev 1 464 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 554: ...MPC563XM Reference Manual Rev 1 554 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 590: ...MPC563XM Reference Manual Rev 1 590 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 622: ...MPC563XM Reference Manual Rev 1 622 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 716: ...MPC563XM Reference Manual Rev 1 716 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1114: ...MPC563XM Reference Manual Rev 1 1114 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1144: ...MPC563XM Reference Manual Rev 1 1144 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1266: ...MPC563XM Reference Manual Rev 1 1266 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1316: ...MPC563XM Reference Manual Rev 1 1316 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1348: ...MPC563XM Reference Manual Rev 1 1348 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1362: ...MPC563XM Reference Manual Rev 1 1362 Freescale Semiconductor Preliminary Subject to Change Without Notice ...
Страница 1382: ...MPC563XM Reference Manual Rev 1 1382 Freescale Semiconductor Preliminary Subject to Change Without Notice ...