
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
Freescale Semiconductor
811
24.5.1.1
Entry points
24.5.1.1.1
Entry table
Each Thread has its
Entry Point
, which contains the SCM address of its first instruction, besides other
information. For a complete Entry Point description, see
Section 24.5.1.1.5, Entry point format
.
Once the Scheduler chooses a channel among pending Service Requests, the Entry Point is taken from an
Entry Table
, based on the Function assigned for the channel and other conditions. Entry Table layout is
shown in
.
Figure 24-24. Entry Table
The Entry Table is organized by Functions. Each Function can have up to 32 Entry Points of 16 bits each,
corresponding to 32 possible Threads per Function. Each Entry Point location in the table corresponds to
a combination of events and channel states (see
Section 24.5.1.1.2, Entry point address generation
single Thread can be associated to more than one combination, having its Entry Point repeated in the table.
Each 32-bit word in the Entry Table holds two Entry Points.
Note that the Entry Table can be placed in any SCM address multiple of the Entry Table size, determined
by the field ETB[4:0] in the register ETPU_ECR. However, it is recommended to place the Entry Table at
the start of the SCM to get continuous code memory and to ease the eventual migration of the code from
larger parts down to smaller ones without rearranging the binary image, but this is not a restriction. Unused
Entry Points may be used for microcode, so this organization extends the microcode continuous area to the
CODE
01FF
03FF
05FF
code
addr.
host addr.
SCM
7FC
FFC
17FC
07FF 1FFC
09FF
0BFF
0DFF
0FFF
27FC
2FFC
37FC
3FFC
Function 0
entry points 0-31
Function 1
entry points 0-31
Function 2
entry points 0-31
Function 31
entry points 0-31
0,0
0,1
0,30
0,31
1,0
1,1
1,30
1,31
2,0
2,1
2,30
2,31
31,0
31,1
31,30
31,31
32 bits
ENTRY TABLE ORGANIZATION
0E00
0E10
0E20
0E30
0FF0
0E0F
0E1F
0E2F
0FEF
0FFF
code
addr.
ENTRY TABLE
0E00
11FF
13FF
15FF
47FC
4FFC
57FC
17FF 5FFC
19FF
1BFF
1DFF
1FFF
67FC
6FFC
77FC
7FFC
CODE
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...