
Enhanced Time Processing Unit (eTPU2)
MPC5644A Microcontroller Reference Manual, Rev. 6
812
Freescale Semiconductor
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
.
Figure 24-25. Entry Point Address (host address offset)
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
, which focus on other
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
Section 24.5.5.2, Match Recognition
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
Section 24.5.5.3, Transition Detection
3. Channel Linking Service Request (microcode writing the channel number to the LINK register).
Link service request allows one channel to activate another (see
Section 24.5.5.5, Channel Link
).
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 requests
ETB[4:0]
(ETPU_ECR)
(ETPU_CxCR)
Encoded
(C4-C1)
Channel
Conditions
CFS[4:0]
Encoded
(C0)
Channel
Conditions
A5-A2
A10-A6
A1
A15-A11
Half-word Select
Word Address
A0 = 0
Содержание MPC5644A
Страница 2: ...MPC5644A Microcontroller Reference Manual Rev 6 2 Freescale Semiconductor...
Страница 24: ...MPC5644A Microcontroller Reference Manual Rev 6 24 Freescale Semiconductor...
Страница 26: ...MPC5644A Microcontroller Reference Manual Rev 6 26 Freescale Semiconductor...
Страница 52: ...Introduction MPC5644A Microcontroller Reference Manual Rev 6 52 Freescale Semiconductor...
Страница 56: ...Memory Map MPC5644A Microcontroller Reference Manual Rev 6 56 Freescale Semiconductor...
Страница 130: ...Device Performance Optimization MPC5644A Microcontroller Reference Manual Rev 6 130 Freescale Semiconductor...
Страница 204: ...Multi Layer AHB Crossbar Switch XBAR MPC5644A Microcontroller Reference Manual Rev 6 204 Freescale Semiconductor...
Страница 212: ...Peripheral Bridge PBRIDGE MPC5644A Microcontroller Reference Manual Rev 6 212 Freescale Semiconductor...
Страница 558: ...System Integration Unit SIU MPC5644A Microcontroller Reference Manual Rev 6 558 Freescale Semiconductor...
Страница 582: ...Frequency modulated phase locked loop FMPLL MPC5644A Microcontroller Reference Manual Rev 6 582 Freescale Semiconductor...
Страница 766: ...Enhanced Time Processing Unit eTPU2 MPC5644A Microcontroller Reference Manual Rev 6 766 Freescale Semiconductor...
Страница 1228: ...Decimation Filter MPC5644A Microcontroller Reference Manual Rev 6 1228 Freescale Semiconductor...
Страница 1236: ...System Information Module and Trim SIM MPC5644A Microcontroller Reference Manual Rev 6 1236 Freescale Semiconductor...
Страница 1250: ...Cyclic Redundancy Checker CRC Unit MPC5644A Microcontroller Reference Manual Rev 6 1250 Freescale Semiconductor...
Страница 1336: ...Deserial Serial Peripheral Interface DSPI MPC5644A Microcontroller Reference Manual Rev 6 1336 Freescale Semiconductor...
Страница 1388: ...Enhanced Serial Communication Interface ESCI MPC5644A Microcontroller Reference Manual Rev 6 1388 Freescale Semiconductor...
Страница 1440: ...FlexCAN Module MPC5644A Microcontroller Reference Manual Rev 6 1440 Freescale Semiconductor...
Страница 1624: ...FlexRay Communication Controller FlexRay MPC5644A Microcontroller Reference Manual Rev 6 1624 Freescale Semiconductor...
Страница 1670: ...JTAG Controller JTAGC MPC5644A Microcontroller Reference Manual Rev 6 1670 Freescale Semiconductor...
Страница 1692: ...Nexus Port Controller NPC MPC5644A Microcontroller Reference Manual Rev 6 1692 Freescale Semiconductor...
Страница 1701: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 Freescale Semiconductor 1701...
Страница 1702: ...Development Trigger Semaphore DTS MPC5644A Microcontroller Reference Manual Rev 6 1702 Freescale Semiconductor...