
Enhanced Time Processing Unit (eTPU)
MPC5566 Microcontroller Reference Manual, Rev. 2
Freescale Semiconductor
18-7
Figure 18-4. PSE Accesses
Each eTPU channel can be associated with a variable number of parameters located in the SDM, according
to its selected function. In addition, the SDM can be fully shared between two eTPU engines, enabling
communication between them. Each function can require a different number of parameters. During eTPU
initialization the host has to program channel base addresses, allocating proper parameters for each
channel according to its selected function.
In the host address space each parameter occupies four bytes (32 bits). eTPU usage of the upper byte is
achieved by having a 32-bit preload (P) register that can access the upper byte, the lower 24 bits, or all the
32 bits. The microcode can switch between access sizes at any time.
18.1.4.5
Task Scheduler
As mentioned in
Section 18.1.3, “eTPU Operation Overview
,” every channel function is composed of one
or more threads, and threads cannot be interrupted by host or channel events, such as channel servicing.
The function of the task scheduler, therefore, is to recognize and prioritize the channels needing service
and grant execution time to each channel. The time given to an individual thread for execution or service
is called a time slot. The duration of a time slot is determined by the number of instructions executed in
the thread plus SDM wait-states received, and varies in length. Although several channels can request
service at the same time, the function threads must be executed serially.
At any time, an arbitrary number of channels can require service. The channel logic, eTPU microcode, or
the host application notifies the scheduler by issuing a service request.
Out of reset, all channels are disabled. The device core makes a channel active by assigning it one of three
priorities: high, middle, or low. The scheduler determines the order in which channels are serviced based
on channel number and assigned priority. The priority mechanism, implemented in hardware, ensures that
all requesting channels are serviced.
[31:24]
[23:16]
[15:8]
[7:0]
SDM
0 0 1 0 1 1 1 1 0 1 1 0 1 1 1 1 0 1 1 0 1 1 1 1
0 0 1 0 1 1 1 1 0 1 1 0 1 1 1 1 0 1 1 0 1 1 1 1
0 0 0 0 0 0 0 0
Example 1:
Read with
sign extension
[31:24]
[23:16]
[15:8]
[7:0]
SDM
0 1 1 0 1 1 1 1 0 1 1 0 1 1 1 1
1 0 1 0 1 1 1 1 0 1 1 0 1 1 1 1 0 1 1 0 1 1 1 1
Example 2:
Read with
sign extension
Most
byte
significant
Most
byte
significant
Most
byte
significant
2nd most
byte
significant
1 0 1 0 1 1 1 1
1 1 1 1 1 1 1 1
Содержание MPC5566
Страница 12: ...MPC5566 Microcontroller Reference Manual Devices Supported MPC5566 MPC5566 RM Rev 2 0 23 Apr 2008...
Страница 81: ...Introduction MPC5566 Microcontroller Reference Manual Rev 2 1 24 Freescale Semiconductor...
Страница 135: ...Signal Description MPC5566 Microcontroller Reference Manual Rev 2 2 54 Freescale Semiconductor...
Страница 189: ...Reset MPC5566 Microcontroller Reference Manual Rev 2 4 20 Freescale Semiconductor...
Страница 331: ...System Integration Unit SIU MPC5566 Microcontroller Reference Manual Rev 2 6 128 Freescale Semiconductor...
Страница 343: ...Crossbar Switch XBAR MPC5566 Microcontroller Reference Manual Rev 2 7 12 Freescale Semiconductor...
Страница 361: ...Error Correction Status Module ECSM MPC5566 Microcontroller Reference Manual Rev 2 8 18 Freescale Semiconductor...
Страница 455: ...Interrupt Controller INTC MPC5566 Microcontroller Reference Manual Rev 2 10 42 Freescale Semiconductor...
Страница 603: ...Flash Memory MPC5566 Microcontroller Reference Manual Rev 2 13 38 Freescale Semiconductor...
Страница 609: ...SRAM MPC5566 Microcontroller Reference Manual Rev 2 14 6 Freescale Semiconductor...
Страница 679: ...Boot Assist Module BAM MPC5566 Microcontroller Reference Manual Rev 2 16 20 Freescale Semiconductor...
Страница 997: ...Deserial Serial Peripheral Interface DSPI MPC5566 Microcontroller Reference Manual Rev 2 20 72 Freescale Semiconductor...
Страница 1037: ...Enhanced Serial Communication Interface eSCI MPC5566 Microcontroller Reference Manual Rev 2 21 40 Freescale Semiconductor...
Страница 1073: ...MPC5566 Microcontroller Reference Manual Rev 2 22 36 Freescale Semiconductor...
Страница 1081: ...Voltage Regulator Controller VRC and POR Module MPC5566 Microcontroller Reference Manual Rev 2 23 8 Freescale Semiconductor...
Страница 1093: ...IEEE 1149 1 Test Access Port Controller JTAGC MPC5566 Microcontroller Reference Manual Rev 2 24 12 Freescale Semiconductor...
Страница 1185: ...Nexus MPC5566 Microcontroller Reference Manual Rev 2 25 92 Freescale Semiconductor...
Страница 1267: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 10...
Страница 1268: ...MPC5566 Reference Manual Revision History MPC5566 Microcontroller Reference Manual Rev 2 Freescale Semiconductor C 11...