
MPC5
644A
Micro
c
on
tro
ller
Re
fe
ren
ce
Man
u
al, R
e
v
. 6
In
iti
a
lizati
on/
App
licatio
n inf
o
rmati
on
Fre
e
scale
Semico
nductor
979
Figure 24-68. 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 24-120. 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
Channel X
Serviced
Worst-Case Latency Channel X
Other Channels Serviced
Channel X
Serviced Next
Summary of Contents for MPC5644A
Page 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Page 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Page 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Page 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Page 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Page 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Page 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...