NXP Semiconductors MPC5644A Reference Manual page 812

Microcontroller
Table of Contents

Advertisement

Enhanced Time Processing Unit (eTPU2)
unused area of the Entry Table. For this purpose, Function numbers should be selected from 0 up to 31. If,
for example, only 8 functions are implemented, only the Entry Table locations for Functions 0 to 7 are
used, and the Entry Table locations for functions 8 to 31 can be used as microinstruction memory (adding
extra continuous 1536 bytes for microprogram usage).
One way of implementing different sets of Functions is having more than one Entry Table, and configuring
the eTPU with the appropriate one for the application by changing field ETPU_ECR[ETB]. Note that the
engines can use different Entry Tables, with or without the same set of Functions.
24.5.1.1.2
Entry point address generation
The Entry Point address within the Entry Table is determined by the Function assigned to the Channel, the
state of the Channel, the type of event, and the condition encoding scheme. Together with the Entry Table
base address, they form the Entry Point Address at the SCM, as shown in
ETB[4:0]
(ETPU_ECR)
A15-A11
The type of event and channel state are coded in the Encoded Channel Conditions field C[4:0], according
to one of two encoding schemes:
Standard Entry Table Condition encoding scheme, shown in
Service Requests.
Alternate Entry Table Condition encoding scheme, shown in
events and state decoding.
The events that take part on condition encoding generate a Service Request, and have four origins:
1. Match Recognition (caused by greater/equal match, or equal-only, between the value TCR1/2 and
the value stored in the channel match registers). eTPU channels support single and double match
in various modes of match recognition; see
2. Transition Detect Service Request (channel input signal transition detection of a selected edge).
The eTPU channels support single and double transition, which together with the double match
options provide various modes of transition detection; see
and Time Base
Capture.
3. Channel Linking Service Request (microcode writing the channel number to the LINK register).
Link service request allows one channel to activate another (see
4. Host Service Request (Host writes a non-zero value to the HSR bits of the channel; see
Section 24.5.2.5, Host service
812
CFS[4:0]
(ETPU_CxCR)
A10-A6
Word Address
Figure 24-25. Entry Point Address (host address offset)
requests).
MPC5644A Microcontroller Reference Manual, Rev. 6
Figure
Encoded
Channel
Conditions
(C4-C1)
A5-A2
Table
24-36, which privileges Host
Table
24-37, which focus on other
Section 24.5.5.2, Match
Section 24.5.5.3, Transition Detection
Section 24.5.5.5, Channel
24-25.
Encoded
Channel
Conditions
(C0)
A1
A0 = 0
Half-word Select
Recognition.
Link).
Freescale Semiconductor

Advertisement

Table of Contents
loading

Table of Contents