NXP Semiconductors MPC5644A Reference Manual page 811

Microcontroller
Table of Contents

Advertisement

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
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.
Function 0
entry points 0-31
Function 1
entry points 0-31
Function 2
entry points 0-31
Function 31
entry points 0-31
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
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
Freescale Semiconductor
32 bits
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
ENTRY TABLE ORGANIZATION
Figure 24-24. Entry Table
Section 24.5.1.1.2, Entry point address
MPC5644A Microcontroller Reference Manual, Rev. 6
Enhanced Time Processing Unit (eTPU2)
Section 24.5.1.1.5, Entry point
CODE
code
addr.
0E00
0E0F
0E10
ENTRY TABLE
0E1F
0E20
0E2F
0E30
CODE
0FEF
0FF0
0FFF
format.
code
SCM
addr. host addr.
01FF
7FC
03FF
FFC
05FF
17FC
07FF 1FFC
09FF
27FC
0BFF
2FFC
0DFF
37FC
0E00
0FFF
3FFC
11FF
47FC
13FF
4FFC
15FF
57FC
17FF 5FFC
19FF
67FC
1BFF
6FFC
1DFF
77FC
1FFF
7FFC
generation). A
811

Advertisement

Table of Contents
loading

Table of Contents