Enhanced Time Processing Unit (eTPU2)
Freescale Semiconductor
29-77
PXR40 Microcontroller Reference Manual, Rev. 1
•
Priority Scheme Details used in WCL Analyses
•
First-Pass WCL Analysis
•
Second-Pass WCL Analysis
The first-pass WCL analysis is based on a deterministic, generalized formula that is easy to apply. Because
of the generalizations in the formula, the first analysis result is almost always much worse than the real
worst case. If the desired system performance is within the limits of this first analysis, then no further
analysis is required; the system is well within the performance limits of the eTPU. If the desired system
performance exceeds that indicated by the first analysis, the second-pass WCL analysis should be applied.
The second-pass analysis is not a generalized formula, but rather uses specific system details for a realistic
worst-case estimation.
29.4.2.1
Introduction to Worst-Case Latency
NOTE
In this Appendix the latency calculation and examples refer to old TPU
functions such as PWM, DIO etc. These functions use single action
channels which have single transition and single match functionality. They
are not optimized for the eTPU hardware enhancement which support
various double action modes. These examples are for reference only. New
eTPU functions which are optimized for the new hardware will impose
different latency calculations.
Worst-case latency for a channel is the longest amount of time that can elapse between the execution of
any two function threads on that channel. For example, if in a particular system, channel 5 is running
PWM, the worst-case latency for channel 5 is the longest possible time between the execution of two PWM
threads. The worst case time includes the time the execution unit takes to execute threads for other active
channels, and other delays described later in this section. Refer to
Figure 29-34. Worst-Case Latency for PWM
Worst-case latency for a channel depends both on the function running on that channel and on the activity
on other channels. Since the 32 eTPU channels must all share the same execution unit, execution speed of
Additional Channel Threads
and other delays.
Worst Case Latency
for Channel 5
PWM Thread
executed for
Channel 5
Next PWM Thread
executed for
Channel 5
Summary of Contents for PXR4030
Page 1: ...PXR40 Microcontroller Reference Manual Devices Supported PXR4030 PXR4040 PXR40RM Rev 1 06 2011...
Page 30: ...PXR40 Microcontroller Reference Manual Rev 1 Freescale Semiconductor xxx...
Page 40: ...PXR40 Microcontroller Reference Manual Rev 1 xl Freescale Semiconductor...
Page 66: ...Memory Map PXR40 Microcontroller Reference Manual Rev 1 2 4 Freescale Semiconductor...
Page 120: ...Signal Descriptions 3 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 860: ...FlexCAN Module 24 50 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...
Page 1167: ...Decimation Filter Freescale Semiconductor 28 53 PXR40 Microcontroller Reference Manual Rev 1...
Page 1168: ...Decimation Filter 28 54 Freescale Semiconductor PXR40 Microcontroller Reference Manual Rev 1...