MPC563XM Reference Manual, Rev. 1
936
Freescale Semiconductor
Preliminary—Subject to Change Without Notice
Mapping the Channels for Each Time Slot
To determine when a channel will be serviced again, it is necessary to determine which other channels will
be serviced first. Do this by assuming all channels are continuously requesting service and mapping the
channels into the time-slot sequence.
Adding Time for Time-Slot Transitions
Add six system clocks for time-slot transitions which occur after each time slot.
23.5.5.4.2
First-Pass Analysis Worst-Case Latency Examples
The examples in this section assume the system configuration shown in
.
Finding the WCL for PWM on Channel 0
The following shows how to find the WCL for PWM on channel 0.
1. Find the worst-case service time for each active channel.
a.
Longest thread of PWM is 24 CPU clocks with four RAM accesses.
PSP
Angle-Angle Mode
Angle-Time Mode
76
50
6
3
SM
1
160
21
PPWA
Mode 0
Mode 1
Mode 2
Mode 3
44
50
2
44
50
9
10
9
10
1
Assumes one master and one slave. For each
additional slave
a) Add 32 clocks and 2 RAM accesses, and
b) Add (STEP_RATE_CNT
∗
two clocks)
2
With one channel linked. Add two clocks for each
additional channel linked.
Table 23-102. System Configuration Example
Channel
Priority
Function
1
,
2
1
9% RAM Collision Rate (RCR)
2
CPU clock rate = 40 MHz, or 25 ns per clock period
0
High
PWM (driving a DC motor)
1
Middle
PPWA (Mode 0, measuring the DC motor speed)
2
Low
DIO (Input)
Table 23-101. Longest Threads and RAM Accesses for old TPU Functions
Function
Longest Thread RAM Accesses
Содержание 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 ...